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?

Re: vb.net and c# by Vipul

Vipul
Sat Jan 14 12:16:55 CST 2006

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.liao@gmail.com> wrote in message
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?
>



Re: vb.net and c# by Scott

Scott
Sat Jan 14 12:37:20 CST 2006

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.liao@gmail.com> wrote in message
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?
>



Re: vb.net and c# by Lloyd

Lloyd
Sat Jan 14 18:42:27 CST 2006

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.liao@gmail.com> wrote in message
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?
>



Re: vb.net and c# by Scott

Scott
Sun Jan 15 12:32:26 CST 2006

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.



Re: vb.net and c# by Kevin

Kevin
Sun Jan 15 14:22:38 CST 2006

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.liao@gmail.com> wrote in message
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?
>