posts - 19, comments - 4, trackbacks - 8

My Links

News

Archives

Post Categories

VB.NET 2.0 Rocks - Smaller than C#

I am teaching a Ascend class on VS2005 in Paris now (June 27,2005).

Started a VB vs C# discussion.

One of the guys said VB.NET used to gen noop lines in msil and it bloated the exe in 1.1.

So he tried it in 2.0. Now VB does not do it but C# does so the C# exe is larger than the VB one.

3 cheers for the VB team.

Print | posted on Monday, June 27, 2005 9:24 AM | Filed Under [ Visual Studio 2005 Development VB.NET vs C# ]

Feedback

Gravatar

# re: VB.NET 2.0 Rocks - Smaller than C#

It doesn't really matter in either case though does it? They are there to help debugging (breakpoints) and when you compile in release mode/configuration they go away...
7/3/2005 5:25 PM | Daniel Moth
Gravatar

# re: VB.NET 2.0 Rocks - Smaller than C#

Hey, but VB.NET adds a lot of code to support the My pseudo-Namespace Feature, so VB.NET generated EXEs are actually a lot bigger out of the box than C# generated EXEs.

P.S. I'm not flaming VB because I myself am a case insensitiveness Addict who can't tolerate Flower Braces:D Blog More:D
6/25/2006 5:47 AM | Yuvi

Post Comment

Title  
Name  
Email
Url
Comment   
Please add 2 and 5 and type the answer here:

Powered by: