By tag: var
0
kicks
Getting Started with LINQ - Part 2 (Language Enhancements)
In my previous post I summarized Microsoft Language Integrated Query (LINQ). Briefly discussed about its components as well as showed some code examples to highlight the sql query type syntax it uses. When we talk about LINQ, we are talking about number of little features that were added in .net 3.0...
0
kicks
Visual Studio 2008 var Keyword Bug - Microsoft Follow-up
Received a follow-up from Microsoft regarding <a href="http://lakario.blogspot.com/2009/07/visual-studio-2008-var-keyword-bug.html">Visual Studio var Keyword Bug</a>. Here's what Microsoft support had to say about the issue.
0
kicks
Var Wars – Abuse of the CSharp var
CSharp 3.0 introduced the var keyword for declaring variables without having to explicitly specify the type. This was done for using anonymous types returned from LINQ queries. Now, I am seeing many developers use it all over their code and think its a good thing.
0
kicks
I don't get var
Brief rant about C#'s var keyword. Short version: Aside from anonymous types ... what's the big deal?