.NET Answers

ASP.NET, HTML, CSS, Visual Studio, CSharp, VB.NET and other programming items of interest.
Subscribe

Archive for November 27th, 2007

CSharp adds the var keyword!

November 27, 2007 By: Dave Category: none

There have been several new features added to the CSharp language that will significantly reduce the amount of code that ends up in our source files.  It will not significantly reduce the amount of code that we have to write.

One of those language features is the ability to create properties, which we looked at last week.

Another of those features is the new var keyword.

So, instead of writing: (more…)

If you're new here, you may want to subscribe to my RSS feed. Thanks for visiting!