Public · Protected · Private
Explicit and implicit variables
Type: Public  |  Created: 2012-06-12  |  Frozen: Yes
« Previous Public Blog Next Public Blog »
Comments
  • if you do int x = 0; // you said it is integer explicitly if you var x =0; // you implicitly defined an integer. var myx = 0; var myy = true; var myString = "Time, marches on...";
    2012-06-12 09:50
  • int[] numbers = { 1, 12, 13, 14, 1, 2, 3, 8 }; var subset = from i in numbers where i < 10 select i; Console.Write("Small Values: "); foreach (var i in subset) { Console.Write("{0} ", i); }
    2012-06-12 09:52
This blog is frozen. No new comments or edits allowed.