Home All Groups Group Topic Archive Search About
Author
14 Jan 2006 6:14 PM
benru.liao
Is there anything that C# can do it  and  Vb.Net Can't ?

I am a VB6 programmer, and I want to study the VB.Net.
But I am confused with Vb.Net and C#.
any suggestion for me?

Author
14 Jan 2006 6:16 PM
Vipul Patel
From the programming point of view, there is hanrly anything which C# can do
and VB.NET cannot.

This is because the services are rendered by the .NET framework and the
languages are simply a mechanism to implement these services.

Thanks
Vipul
C# MVP

<benru.l***@gmail.com> wrote in message
Show quote
news:1137262471.565929.87670@f14g2000cwb.googlegroups.com...
>
> Is there anything that C# can do it  and  Vb.Net Can't ?
>
> I am a VB6 programmer, and I want to study the VB.Net.
> But I am confused with Vb.Net and C#.
> any suggestion for me?
>
Author
14 Jan 2006 6:37 PM
Scott M.
This question has been asked many many times and it boils down to this...

Functionality is handled by the .NET Framework, which all .NET languages
use.
Implementing that functionality is a matter of the language that interacts
with the Framework.  C# & VB.NET offer 99.999% equal abilities in this
regard.

Bottom line:  In .NET, you pick your language based on your personal
preference.

<benru.l***@gmail.com> wrote in message
Show quote
news:1137262471.565929.87670@f14g2000cwb.googlegroups.com...
>
> Is there anything that C# can do it  and  Vb.Net Can't ?
>
> I am a VB6 programmer, and I want to study the VB.Net.
> But I am confused with Vb.Net and C#.
> any suggestion for me?
>
Author
15 Jan 2006 12:42 AM
Lloyd Dupont
each languages have some feature not available to others.

for exemple C# as build in syntax to use the various integer type (short,
byte, ulong, etc..)
whereas in VB you've got to object and special casting function.

I *believe* VB.NET has also problem to define new custome attribute
(although I read it, but can't understand why).

On the other I've read that VB.NET, as MC++ as indexed property (like
a.b[i]), whereas C# support only indexing the object itself.

VB.NET seems also quite more verbose that C#, better to have a big screen to
be able to read long VB.NET lines of code.

It's difficult to do exhausting comparison as I have used VB.NET only for
2~3 days overall.



<benru.l***@gmail.com> wrote in message
Show quote
news:1137262471.565929.87670@f14g2000cwb.googlegroups.com...
>
> Is there anything that C# can do it  and  Vb.Net Can't ?
>
> I am a VB6 programmer, and I want to study the VB.Net.
> But I am confused with Vb.Net and C#.
> any suggestion for me?
>
Author
15 Jan 2006 6:32 PM
Scott M.
Lloyd, your comments are more of a comparison in form, not function.

> for exemple C# as build in syntax to use the various integer type (short,
> byte, ulong, etc..)
> whereas in VB you've got to object and special casting function.

The .NET Framework uses a Common Language Specificaiton (CLS) which contains
a Common Type System (CTS), which assures us that no matter what language
you use, the data types will be the same.  How you get to a specific type is
just a matter of the language syntax.

> VB.NET seems also quite more verbose that C#, better to have a big screen
> to be able to read long VB.NET lines of code.

Again, this is just a comparision of form, not function.  Some people like
the clarity of VB, rather than the (according to some people) cryptic nature
of C#.

As I said, it just boils down to preference.  Yes, there are a few minor
differences in capabilities, but for most people, they are irrelevant.
Author
15 Jan 2006 8:22 PM
Kevin Spencer
Check out the following article from MSDN:

http://msdn.microsoft.com/vcsharp/programming/fundamentals/vbandcharpequivalentsfaq/

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
You can lead a fish to a bicycle,
but it takes a very long time,
and the bicycle has to *want* to change.

<benru.l***@gmail.com> wrote in message
Show quote
news:1137262471.565929.87670@f14g2000cwb.googlegroups.com...
>
> Is there anything that C# can do it  and  Vb.Net Can't ?
>
> I am a VB6 programmer, and I want to study the VB.Net.
> But I am confused with Vb.Net and C#.
> any suggestion for me?
>

AddThis Social Bookmark Button