PC Review


Reply
Thread Tools Rate Thread

Is C# more capable than VB.NET?

 
 
kris p
Guest
Posts: n/a
 
      11th Feb 2004
I have to implement a project in .NET which might entail some lower level technical
programming, and have to decide whether to use C# or VB.NET, is C# more capable
than .NET or they just synctatically different?

Thanks,
kristoff plasun
 
Reply With Quote
 
 
 
 
William Ryan eMVP
Guest
Posts: n/a
 
      11th Feb 2004
For 99% of tasks, they are functionally identical. However, C# allows the
use of unsafe code, so there is definitely some low level stuff that VB.NET
can't handle. I'm hesitant to say that one is more capable than the other
b/c that usually gets someone mad at me. Keep in mind that VB.NET does
support quite a bit, and you can still perform many many API calls with it,
but if the crux of your application will involve low level api calls, I
think C# is the more appropriate (and possibly only viable) solution.
"kris p" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> I have to implement a project in .NET which might entail some lower level

technical
> programming, and have to decide whether to use C# or VB.NET, is C# more

capable
> than .NET or they just synctatically different?
>
> Thanks,
> kristoff plasun



 
Reply With Quote
 
Cor
Guest
Posts: n/a
 
      11th Feb 2004
Hi Kris,

I totally disagree with Bill, if you still have to choise and you do not
know what to take, than in your situation I think that the only choise can
be in this situation C# and if that does not fit C++.

The reason Bill has already told.

Not because C# is more cabable than VB.net, but just because what you told
is in my opinion one of the things where C# is better occupied for than
VB.net. (If you would ask by instance to implement an interop from Excel I
would give a totally different answer)

My 2 eurocents.

(Hi Kris, this to Bill, "This you did not expect")

:-))

Cor


 
Reply With Quote
 
Paul Guides
Guest
Posts: n/a
 
      11th Feb 2004
Hi,

search for Q308470:

"Differences Between Visual Basic .NET and Visual C# .NET"

Paul


"William Ryan eMVP" <(E-Mail Removed)> wrote in message
news:u$(E-Mail Removed)...
> For 99% of tasks, they are functionally identical. However, C# allows the
> use of unsafe code, so there is definitely some low level stuff that

VB.NET
> can't handle. I'm hesitant to say that one is more capable than the other
> b/c that usually gets someone mad at me. Keep in mind that VB.NET does
> support quite a bit, and you can still perform many many API calls with

it,
> but if the crux of your application will involve low level api calls, I
> think C# is the more appropriate (and possibly only viable) solution.
> "kris p" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > I have to implement a project in .NET which might entail some lower

level
> technical
> > programming, and have to decide whether to use C# or VB.NET, is C# more

> capable
> > than .NET or they just synctatically different?
> >
> > Thanks,
> > kristoff plasun

>
>



 
Reply With Quote
 
Guest
Posts: n/a
 
      11th Feb 2004
> I have to implement a project in .NET which might entail some lower level
technical
> programming, and have to decide whether to use C# or VB.NET, is C# more

capable
> than .NET or they just synctatically different?
>

Go for C# since it .NET DLL's might not be as compatible as they advertise
in their advertising.
The problem is case sensitivity and types. I think that C# could handle 3rd
party .NET dll's better if they do not conform to the standards.

Use FxCop to check your .NET code if it is compatible to other programs.


 
Reply With Quote
 
Guest
Posts: n/a
 
      11th Feb 2004
> Not because C# is more cabable than VB.net, but just because what you told
> is in my opinion one of the things where C# is better occupied for than
> VB.net. (If you would ask by instance to implement an interop from Excel I
> would give a totally different answer)
>

Totally agree, C# is built for .NET, all other languages have some very
strange constructs to make it compatible with .NET but reduces readability
dramatically.
Look at the C++ macro's for managed code.


 
Reply With Quote
 
Cor
Guest
Posts: n/a
 
      11th Feb 2004
Hi Olaf,

> Totally agree, C# is built for .NET, all other languages have some very
> strange constructs to make it compatible with .NET but reduces readability
> dramatically.


That I did not say and do absolutly not agree, but I do not want to start a
thread but answer on the question from kris.

There have so often been a discussion in the C# and the VB.net languages
groups. Regulars from those newsgroup says that the use of those languages
is mostly only a matter of taste. Not faster, not more readable, not more
efficient, not better code, just a matter of taste and only in some parts of
the borders of the language one is more efficient than the other. But there
is not better one.

And the question from kris looks for me in that part of the border where C#
is more efficient.

Cor



 
Reply With Quote
 
Doknjas
Guest
Posts: n/a
 
      14th Feb 2004
I think that if you ever have more than 1 developer working with code,
that C# is much better - and I'm saying this as a former VB bigot.
Take arrays for instance - VB.NET has many different styles of array
declaration and initialization - apprarently to suit many kinds of
people and what they happen to be used to. C# hasn't been designed
to conform to everyone's idiosyncrasies, and therefore doesn't have
irritatingly many ways of doing one simple thing.


Posted Via Usenet.com Premium Usenet Newsgroup Services
----------------------------------------------------------
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
----------------------------------------------------------
http://www.usenet.com
 
Reply With Quote
 
Cor
Guest
Posts: n/a
 
      15th Feb 2004
Hi Kris,

I said I did disagree with Bill that is only because he did not say it real
explicitly that C# was more capable in this case.

Cor



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Is .NET less capable? creamBoy Microsoft VB .NET 11 6th Sep 2007 03:14 PM
Capable of? =?Utf-8?B?bWlrZWJydWNlMTE=?= Windows XP MovieMaker 1 19th Oct 2005 12:10 AM
Is Access capable of doing ...... =?Utf-8?B?U29yYWl5YQ==?= Microsoft Access 1 15th Oct 2005 03:12 AM
Re: XP Pro SP2 - Not Recognizing HT capable P4 Nunya Business Windows XP Setup 5 24th Feb 2005 03:38 PM
pas capable jojo Microsoft Access 0 16th Dec 2003 06:03 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:42 AM.