What is C#??
I am wondering what C# is and where it would be used.
It's C (sharp), writing music...
It's java for winders? Or MS attempt to supplant java from winders. I hope it shares the same fate as "Bob" (bad joke about past MS mistakes...).
Pronounced C Sharp,
am wondering what C# is and where it would be used.
this is suppose to be the MS challenge (?) to JAVA - but only in part.
The new C, is apparently based mainly on VB, but with C dialect, while it reportably (havent seen it yet) encompasses parts from JAVA, those being things like inheritence and object handling / manipulation.
The Sun Microsystems JDK, what we recognise as JAVA was a powerful language - probably one of the most powerful OO around. Its main features are the coding features, like inheritence, and the simple idea - to run on any platform.
.NET is the MS challenge to this now. After realising J++ wasnt a viable product (the MS version of the JAVA language, which wasnt fully JAVA compatible because of the new propreitory code MS implanted) Microsoft dropped all support for the idea of A) JAVA, and B) A language for any platform.
So therefore, this is a new language, based on the VB idea, with the JAVA concept and semi power - designed to run Net based applets and applications across... win based OS (?)
Im not to sure as to whether a application written in say C#, is suppose to be able to execute on any platform.. but i doubt it.
So, its therefore JAVA, but only for Wintel based machines.
Someone please correct me on the end part if im wrong.
You're partly wrong danee. C# and for that matter, any of the other .NET languages such as VB.NET, ASP.NET etc etc. should work on any platform like Linux and Macintosh provided that they have the .NET Framework installed. The .NET Framework is basically a huge library of code from which a developer can work with.
Yes, I do agree that this is Microsoft's answer to Sun's Java, but I believe you're incorrect that C# is based mainly on VB. More like its the other way around. VB has never been a strongly typed language. Well, for that matter, it was never a full-fledged OOP language. However, C# through the use of Visual Studio .NET can retain VB's graphical feel/interface.
In anycase, logistics aside, we'll find out whether MS is wasting their dollars in the .NET venture soon enough.
While I only have VB.Net, and none of the other .Net langues, its my understanding that they all basically do the same thing, just different programming styles. They all should be knida platform independent with the .Net framework, but of course, you can make Windows applications with them and everything too.
OK..., but no, java actually works.
So, its therefore JAVA, but only for Wintel based machines.
.NET languages such as VB.NET, ASP.NET etc etc. should work on any platform like Linux and Macintosh provided that they have the .NET Framework installed.
define ".NET Framework".
sound like JVM.
btw, java IS working on (most all) platforms, already.
Can .net do 'winders for workgroups'? MS stuff doesn't work well with MS OSes...
Never has, why now?
what C# is
my answer. A complete waiste of time.
I agree with part of your thought... VB was never a fully 100% fledged OO language. Thats why MS had to develop C#, developers developing true OO applications using Java, which will run on any platform.
Originally posted by namrak
but I believe you're incorrect that C# is based mainly on VB. More like its the other way around. VB has never been a strongly typed language. Well, for that matter, it was never a full-fledged OOP language. However, C# through the use of Visual Studio .NET can retain VB's graphical feel/interface.
So, from my understanding, C# is the C language, presented in the VB fashion/ease of use ability and some VB code, while allowing features like inheritence which has only ever been seen elsewhere in JAVA.
Inheritance is a foundation of OOP, the other are encapsulation and polymorphism.
while allowing features like inheritence which has only ever been seen elsewhere in JAVA.
Inheritance the easiest to comprehend and most used (often poorly) aspect.
Polymorphism (overloading/overriding) a close second. Methinks pretty easy to comprehend also.
Encapsulation by far most important, hardest to comprehend (some just don't get it), and I have often seen inheritance used to break encapsulation!!!
Most claim a lang needs to implement all three to be a true OO language, I agree.
Java created looong after OOP, C++ came before java. I'm thinking smalltalk is first OO language, but could be wrong. Some of the first OO langs:
Lots of OO langs exist, including ADA, and the easiest (my estimation) Powerbuilder (existed before java also).
Don't know how well C# implements OOP...
Yeah, I was gonna say, C++ is OO. VB.Net and C# are both supposed to be OO, just two different flavors. Current VB users migrate to VB.Net and VC++ to C# is the way I look at it. Could be wrong though.
I like C++! Nice, fast and compateable. New to codeing though so my opinion means nothing by all means. I'm learning alot from what you guys/gals are talking about here. My first dabbleing was with a really old pc in codeing that is. I had a book that you just went from, twas easy. Didnt learn jack from it but it was entry level (I was only 10). Its coded like "10010 001010001" anybody remember that lang. What is it? Not trying to annoy you just curious as I'm new to this stuff (codeing/prog. lang.). Anyhow the C++ is lots easier on us to use as its kinda written in sentences in a way. Like to say, if this = this or does this, then you do this. Or if this isnt here then go this line of code. Is that right? And these others are iterations or flovours of the same right? What are all these newer ones branched or based from. Like what was the start of this sentence type programming? C? I got the C++ crash course form staples like a year ago. Started in it but its alittle rushed toegether as the title staits. Is there like a C++ for dummys or something? I'm takeing my certification course right now so this is on the side and a lesson book that would take smaller easier steps would be good. Do you know of any? thanks for your time people, I apreciate it.
Dummies books I've never liked too much, although I do like C++ Weekend Crash Course. I haven't used much C++, mostly Java and VB, but it is funny how confusing it gets at times. Like I will be coding in half one language and half another.
Always forget using & or +. And I constantly find myself using a single "=" for a comparison of equality in Java, because VB only requires one, wheras Java requires "==".
Although I do like If statments in Java better because you have your condition inclosed in parentheses and dont have to type "End If."
But I would hightly recommend Java, because you can download a free IDE for it from Sun's website (Forte) that is similar in usage to VJ++ (although without Windows forms for making .exe's). Links to your compile errors, color codes everything, gives you choices for methods if you don't know what to use with an object.
Thanks, I'll check out java! Is C++ a dead language?
LOL, its not dead by any means. Just a little harder to do really cool stuff for a beginner.
New Security Features Planned for Firefox 4
Another Laptop Theft Exposes 21K Patients' Data
Oracle Hits to Road to Pitch Data Center Plans
Microsoft Preps Array of Windows Patches
Microsoft Nears IE9 Beta With Final Preview
Simplified Analytics Improve CRM, BI Tools
Android Passes RIM as Top Mobile OS in 2Q
VMware Updates Hyperic System Management
File Monitoring Key to Enterprise Security
LinkedIn Snaps Up SaaS Player mSpoke