What is C# used for ? couple of my friends said network but I'm not sure if thats correct can someone set me on the right path here. And is it worth learning ? thanks.....
What is C# used for ? couple of my friends said network but I'm not sure if thats correct can someone set me on the right path here. And is it worth learning ? thanks.....
(Dante)"Blood you have thirsted for -- now, drink your own!"
It is a general purpose programming language, and can be used for (almost) anything. It can be used for networking programs, and it is often used for GUI programming.
--
Mats
Compilers can produce warnings - make the compiler programmers happy: Use them!
Please don't PM me for help - and no, I don't do help over instant messengers.
So is it just like C++
(Dante)"Blood you have thirsted for -- now, drink your own!"
As very brief summary yes. There are many small differences. The biggest one is that the memory management is done by the "language" itself, and that it's not a native compiler - it generates .Net code, which is the same concept as Jave ByteCode, not pure machine-code. It then uses clever techniques to translate this into actual machine code when you run the app - as far as I understand.
--
Mats
Compilers can produce warnings - make the compiler programmers happy: Use them!
Please don't PM me for help - and no, I don't do help over instant messengers.
Well, it is clearly based on C++. So it is more modern than C++. But C++ is a better choice when you want something to run faster. It has offers more management it is an evolution from C, meaning speed is always a must for the language. Not that C# is slow. Well, google C# vs C++ and you will find a lot of opinions
My personal opinion is that C# it is easier than C++. But as a language it has fewer things than C++.
It is created by Microsoft and uses the .NET framework. Meaning that if a PC doesn't have the framework it cannot run the program. Of course installing the framework in Windows is free and simple. It can be done (they say) in Linux or some Linux.
As far as I know you can use the .NET library also with C++, but it will be probably better to do it with C#.
.NET / ASP.NET is really create for a GUI or a Internet based program. C++ is better when speed is an issue, like creating a game.
P.S1: I prefer C++, but that is because I like C.
P.S2: I played DMC 3 and 4 mostly to see the scenematics with Dante. There awesome. Probably the best is the Intro of DMC 3. Though that's also the first one so it's the first impression. From DMC 4 I liked the theatrical/drama scene most... and... wait this is a C forum....
One important difference is that C# can't be used for kernel mode software, such as (many) device drivers.
Or rather, if you wrote it in C# without using .NET, you could probably write a compiler to do kernel mode drivers, as I don't believe any of the existing compilers have that capability.
You ever try a pink golf ball, Wally? Why, the wind shear on a pink ball alone can take the head clean off a 90 pound midget at 300 yards.
C# iz a fansee wurd for java 4 microsoft.
"What's up, Doc?"
"'Up' is a relative concept. It has no intrinsic value."
Y u gotta hait?
i don no y hez been sarcaztc
Lollies
Anyway it certainly does have it's place, although I'd pick Java over it anyday. What's the point of a managed, interpreted language if it's hardly portable?!?
If you really don't know how to spell properly, then I pity you. However, if it is by choice that you construct your sentences that way, don't expect to get any respect or useful help from normal people. if you want people to take you seriously, please conform to the same standard of spelling, sentence structure, and punctuation that everyone else has adopted. What do you think a potential employer would think if you wrote that way in your resume? they would read the first sentence and throw it in the trash can. Posts on this board are just as easily discarded or ignored.