.NET Answers

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

Object Initialization in CSharp 3.0 and VB.NET 9

November 28, 2007 By: Dave Category: none

Yesterday we looked at the new var keyword in CSharp.  This makes CSharp variable declaration similar to VB.  After all, they’ve had the DIM keyword for years which essentially does the same thing.

Today, we’re going to look at object initializers, which have been added to both CSharp and VB.

(more…)

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

Some ASP.NET Goodies in VS 2008

November 26, 2007 By: Dave Category: none

Today we’ll look at a few new goodies on the web development side of Visual Studio 2008.  You may have heard that we finally get split view so we can see the designer and the HTML at the same time.  Or maybe you want to know just how well that JavaScript intellisense works.  Have you seen the new CSS integration?  This is really cool.  And frankly, it does something Dreamweaver should have been doing years ago.  So, let’s get started.

(more…)

Intellisense Everywhere in VB 9 (and a small bug)

November 23, 2007 By: Dave Category: none

One of the features the CSharp guys have had for quite a while is Intellisense everywhere.  Want to create a private variable?  Just start typing private and hit the tab key as soon as the word is highlighted.  This, combined with code snippets have made coding in CSharp a bit faster than coding in VB.

What about the VB guys?

Sorry.  All the VB guys got was the ability to see methods an properties hanging off of their objects.  They have had to type out  the whole word for things like public, private, dim and class. 

Until now.  Watch the following video to see the new Intellisense for VB 2008 in action.

Technorati Tags: ,,

  

del.icio.us Tags: ,,

Multi-Targeting

November 21, 2007 By: Dave Category: none

One of the big new features that have been advertised with Visual Studio 2008 is this thing called Multi-Targeting.  This lets you write code for .NET 2.0 (or 3.0) even though 2008 is written to work with .NET 3.5.  So, the theory is, you can still work on existing projects targeted for .NET 2.0.  Does this work?  Watch the video to find out.

del.icio.us Tags: ,

  

Technorati Tags: ,