Why is C# more prfferred than VB.NET.

  • Thread starter Thread starter Guest
  • Start date Start date
Jon Skeet said:
I disagree heartily with that statement. It's true for a *few* areas
of the framework, but far from most. What's your basis for this claim?

Jon

When I said .NET framework, I should have said BCL (Base Class Library).
Saying *most* might be an exageration, but saying a *few* areas is a gross
understatement. But then I spend alot of time doing C# Interop and C++/CLI
Interop.

Okay I'll re-word, if you write a program that needs data from Windows in
some form. i.e. A file, a directory, a permission, a handle, a value from
the registry, some data from the network, or some data from Active
Directory. There will be a call to an un-managed windows .dll file.

Why is there such great support for calling Un-Managed code via pinvoke?
Because Microsoft needed it to build the BCL.

Russ.
 
Bob Johnson said:
I like tomato soup.

-"Bob"

I like it when I am sick with a bad cold or flu. Technically, it's easy on
the stomach.

But in my *opinion*, the best is Clam Chowder -- none better.
 
Russell Mangel said:
When I said .NET framework, I should have said BCL (Base Class Library).
Saying *most* might be an exageration, but saying a *few* areas is a gross
understatement. But then I spend alot of time doing C# Interop and C++/CLI
Interop.

Okay I'll re-word, if you write a program that needs data from Windows in
some form. i.e. A file, a directory, a permission, a handle, a value from
the registry, some data from the network, or some data from Active
Directory. There will be a call to an un-managed windows .dll file.

Yes, indeed. It's a rare app that will make *no* unmanaged calls, if
that's even possible. It's a really long way from that to suggesting
that most of the framework (or even just most of the BCL) is merely
wrapping Windows APIs.
Why is there such great support for calling Un-Managed code via pinvoke?
Because Microsoft needed it to build the BCL.

No, I don't buy that - the Java support for calling unmanaged code is
rubbish, but there's still plenty of need for interaction with the OS.
 
Back
Top