Bruce Roeser
posted
26 posts
since
Feb 05, 2008
from
|
|
Re: why the difference in C# and VB.net Code file?
|
|
|
|
|
|
|
|
|
|
|
Very simple. The implementation details of the two languages are different.
VB.Net hides a lot more of the low-level code details from the user. VB is intended as an easier entry-level for a developer in .Net than C# is. You can look at the lower-level details in VB if you want to but the overall concept of VB is relative simplicity.
The underlying details are the same for both languages, the presentation to the developer is different, that's all.
-bwr-
|
|
|
|
|
If you don't like programming then go do something else!
|
|
|
|
|
|
Jaish Mathews
posted
328 posts
since
Aug 12, 2005
from
Bangalore, India
|
|
Re: why the difference in C# and VB.net Code file?
|
|
|
|
|
|
|
|
|
|
|
Hi,
VB.NET has the responsibility of carry forward the VB6.0 syntax. Because Microsoft don't need the big VB6.0/COM programmers to go some where rather than migrate to .NET. The syntax of VB.NET resembles with VB6.0. So VB6.0 developers can easily migrate to .NET. But C# is an entirely new language developed only for .NET. Thta's why they C# and VB.NET syntax are different. But after compilation and converted to CIL language, both may not showing any difference. You please try this by opening 2 assemblies in ILDASM tool.
|
|
|
|
|
|
Sam Hobbs
posted
6490 posts
since
Sep 07, 2009
from
Los Angeles, California, USA
|
|
Re: why the difference in C# and VB.net Code file?
|
|
|
|
|
|
|
|
|
|
|
VB.Net and C# are different languages. So they do things differently.
|
|
|
|
|
Thinking is a feeling; pleasant for some and unpleasant for others.
|
|
|
|
|
|
Dipa Ahuja
posted
499 posts
since
Apr 01, 2009
from
|
|
Re: why the difference in C# and VB.net Code file?
|
|
|
|
|
|
|
|
|
|
|
|
|
|
We can't help everyone, but everyone can help someone.
|
|
|
|
|
|
hariom
posted
14 posts
since
Aug 19, 2010
from
mumbai
|
|
Re: why the difference in C# and VB.net Code file?
|
|
|
|
|
|
|
|
|
|
|
Both file have different sysntax. ClR have different different compiler for both file.
so we need both type of files
|
|
|
|
|
|