該当頁 | 該当箇所 |
修正刷 |
訂正箇所 |
訂正事項 |
更新日 |
65 |
サンプル ClassFirst.cs 1行目 |
未 |
float GetArea(float height, *oat bottom) |
float GetArea(float height, float bottom)
(※第2引数の型の最初の文字がエスツェット (Eszett) になっているのでfに修正してください) |
2017年7月24日 |
71 |
サンプル ClassRef.cs |
第2刷 |
new Class24().Triple(ref a); |
new ClassRef().Triple(ref a); |
2012年8月10日 |
72 |
サンプル ClassOut.cs |
第2刷 |
new Class25().TestFunc(3, out x, out y); |
new ClassOut().TestFunc(3, out x, out y); |
2012年8月10日 |
77 |
サンプル ClassIndexer.cs |
第2刷 |
var tmp = new Class10(); |
var tmp = new ClassIndexer(); |
2013年4月02日 |
100 |
解説文3行目 |
第2刷 |
C# 3.0(.NET Framework 3.5)からは |
C# 2.0からは |
2011年12月20日 |
101 |
サンプルコード |
第2刷 |
DelegateLambda d = n => -n; |
SampleDelegate3 d = n => -n; |
2011年12月20日 |
102 |
サンプル内のコメント部分 |
第2刷 |
// d3 = d4; |
// d1 = d2; |
2011年12月20日 |
107 |
サンプルコード |
第2刷 |
try
{
using (StreamReader sr =
new StreamReader("ExceptionUsing.cs", System.Text.Encoding.Default))
{
string text = sr.ReadToEnd();
Console.Write(text);
}
}
catch (Exception e)
{
Console.WriteLine(e.Message);
} |
using (StreamReader sr =
new StreamReader("ExceptionUsing.cs", System.Text.Encoding.Default))
{
string text = sr.ReadToEnd();
Console.Write(text);
}
(try~catchを削除 ) |
2011年12月20日 |
107 |
サンプルファイル名 |
第2刷 |
ExceptionUsing.cs.cs |
ExceptionUsing.cs
(.csを削除 ) |
2011年12月20日 |
117 |
4行目のフィールド名 |
第2刷 |
MinField 最小値 |
MinValue 最小値 |
2013年3月26日 |