what are advantages of C#?

Nice discussion

It is nice discussion indead. Seems its a matter of individual choice to use vb.net or c# to design application. No I want to knoe a bit more. Can any body suggest me when to use C++ .NET?
 
I don't have a reason to ever use C++.NET -- if you want simplicity, use C# or VB.NET. If you want raw power, use C++. I don't see the use in C++.NET which both removes the simplicity from .NET and adds large dependency to C++.

My opinion of course.
 
raw power

Raw power...thats what I want...suppose I want to develop some middle tier class, shouldn't we develop it by c++.net?
 
Then what he meant?

So, can u please tell me in an enterprise application development where can we use VC++.Net, to get better performance?
 
For most business related applications performance is often far more limited by things like network speed, database (software, design, hardware), overall application architecture and design rather than raw processing power - C# / VB.Net would offer a language that is easier to develop and maintain with fairly clear code (no pointer arithmetic for one) while probably delivering performance similar if not equal to C++ / C++.Net code.
If you had parts of the application that were very CPU intensive (lots of number crunching) there may be an argument for using C++/C++.Net - but even then the performance may not improved dramatically.
Also as VolteFace said C++.Net will still have large C++ dependencies anyway - it maybe easier to write selected parts as a normal C/C++ DLL instead of using C++.Net
 
Thanks

Thaks for ur opinion. Thats true...in my last six year job exp. I never feel to use Visual C++ ....I was just thinking in .NET common IDE what to use when? Really frustrating....Microsoft should build a common language to solve all the thing...:mad:
 
I feel they went one step further with .NET, they gave us one common framework with a variety of languages to choose from.
 
Incidentally, there is a shortcut command for commenting and uncommenting multiple lines in VB.NET (it puts all of the single quotes in for you in a block of highlighted text -- and removes them again). I believe the command is ctrl-k, ctrl-c to comment. ctrl-k, ctrl-r to uncomment a block of text. That might not be the exact sequence, but I know you can do it.
 
VolteFace said:
I don't have a reason to ever use C++.NET -- if you want simplicity, use C# or VB.NET. If you want raw power, use C++. I don't see the use in C++.NET which both removes the simplicity from .NET and adds large dependency to C++.
Just to add my .02 to this. I think C++.Net should be used when you want the power of C++ (ie. scientific computing, gaming, etc) but you want to use the .Net framework for something such as the GUI. C++.Net allows you to do all this in one language.
 
drewsblues said:
Incidentally, there is a shortcut command for commenting and uncommenting multiple lines in VB.NET (it puts all of the single quotes in for you in a block of highlighted text -- and removes them again). I believe the command is ctrl-k, ctrl-c to comment. ctrl-k, ctrl-r to uncomment a block of text. That might not be the exact sequence, but I know you can do it.

You can also add buttons to the tool bar to do this. While this will comment large blocks of code, there is still no means of using "in-line" comments. I think that's what we were looking at.
 
.NET Framework is language independent and was made so that we dont argue on which langauge to use. I agree with wyrd, it is a matter of taste. C# and VB.NET in terms of power are the same but they differ in syntax. If you are a C,C++ programmer you will feel C# is closer to you and that's why you would try to defend it and figure out points in its advantage. If you are a VB prrogrammer, ok people didn't respect you before, because visual basic 6 was not a complete langauge. But now VB.NET, give me a break, it is as complete as C# and as Java.It is fully object oriented, it is not VB.NET's fault if VB.NET programmers still use VB6 syntax. I for instane do not VB6 and i learned java and C in the university. But now after i started VB.NET in our company things are totally different, you can do the same things C and Java does and even faster. I am not trying to attack people using C#, use whatever you want that's the idea of .NET, but it is not nice to start making up silly reasons to prove that C# is better.
Why shoudl i use ; at the end of a line give me a break ...
why should i explicilty open and close function s and methods { }
why the hell is there case sensitivity, this is absurd people.

Software Industry is to create softwares in the max speed possible, VB.NET provides that, it does not focus on,little details
such as ; and case sensitivity. It focuses on getting the work done.

Is is it fair to even say that people using C# seperates men from the boys !!!

Does adding ; and case sensitivity seperate men form boys ....
 
The reason I prefer VB.NET over C# is how case-sensitive C# is

int Bob
bob=1

C# would generate an error, VB would capitilize it and you'd never think twice.
 
Back
Top