using System; class Test { static bool b; int i; static void Main() { Test t = new Test(); Console.WriteLine("b = {0}, i = {1}", b, t.i); } }produces the output
b = False, i = 0because b and i are both automatically initialized to default values. end example]
| |
Jagger Software Ltd | |
Company # 4070126 | |
VAT # 762 5213 42 |