Stories recently tagged with 'var'

Getting Started with LINQ - Part 2 (Language Enhancements)(beyondrelational.com)

submitted by DPalkarDPalkar(228) 2 years ago

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 framework which are the building blocks of the LINQ. In this post I will discuss these features a little further as follows. Object Initializers Collection Initializers Anonymous Types, Implicitly Typed variables (var keyword) Lambda Expressions Partial Methods Extension Methods read more...

1 comment |category: |Views: 258

tags: another

Visual Studio 2008 var Keyword Bug - Microsoft Follow-up(lakario.blogspot.com)

submitted by LakarioLakario(115) 2 years, 10 months ago

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. read more...

add a comment |category: |Views: 21

tags: another

Var Wars – Abuse of the CSharp var(theahmadblog.blogspot.com)

submitted by ahmadadnanahmadadnan(30) 2 years, 11 months ago

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. read more...

add a comment |category: |Views: 104

tags: another

I don't get var(codeheaven.info)

submitted by johnrudyjohnrudy(150) 3 years, 10 months ago

Brief rant about C#'s var keyword. Short version: Aside from anonymous types ... what's the big deal? read more...

1 comment |category: |Views: 31

tags: another