Thread: C#?

  1. #1

    C#?

    Is C# like an improvement to C++? Like how C++ is an improvement to C? And, can you make console programs in it?

  2. #2
    Banned Troll_King's Avatar
    Join Date
    Oct 2001
    Posts
    1,784
    C# inherits many of the language characteristics of C and C++ but it is a managed langauge that targets the .NET framework. Yes you can write C# console applications.

  3. #3
    Former Member
    Join Date
    Oct 2001
    Posts
    955
    .NET as of Visual Studio.NET? and, what improvements does it have?

    is it multiplatform?

    Oskilian

  4. #4
    Banned Troll_King's Avatar
    Join Date
    Oct 2001
    Posts
    1,784
    Get a book. There is too much background information needed to understand answers to these questions.

  5. #5
    Former Member
    Join Date
    Oct 2001
    Posts
    955
    OK, so what is .NET about, what is its main BIG change?

    Oskilian

  6. #6
    That's what I want to know. At programmersheaven.com they talk about Microsoft's .net thingy all the time. WHAT IS IT? The only .net I know is in internet addresses.

  7. #7
    Registered User
    Join Date
    Oct 2001
    Posts
    375
    C# is Microsoft's attempt to replace Sun's Java. It has the advantage that on all platforms it supports, the colors are for sure the same. The disadvantage is that unlike Java, it only supports Microsoft OS's, which helps explain this lovely color compatibility. This may change however, as C# may become a standardized language and be ported to other OS's. This change needed to take place because Sun hates Microsoft and was giving them a hard time about making MS's version of Java different and thus not platform independent.

    .NET is Microsoft's way of replacing Microsoft's old COM and DCOM technology. None of this has much to do with the Internet by themselves. It is really a way to write parts of your program in various languages. Some of these languages are targeting the Internet, thus they like to imply this with the name because the Internet is THE thing for programming these days.

    C# may have other "advantages" but these will certainly be more a matter of personal taste in the end. C# will be compressed scripts like Java (byte code or something similar) and will not be compiled by default - though to my understanding it can be made machine code somehow... but that sorta defeats the purpose as machine code is not platform independent... not that it is yet anyway.... I'll shut up now.



    -Justin
    Allegro precompiled Installer for Dev-C++, MSVC, and Borland: http://galileo.spaceports.com/~springs/

  8. #8
    Banned Troll_King's Avatar
    Join Date
    Oct 2001
    Posts
    1,784
    Take your Java out of here. It adds no value what so ever to my computer.
    Last edited by Troll_King; 11-01-2001 at 09:40 PM.

  9. #9
    Unregistered
    Guest
    I also dislike Java. That is why I am surprised you are such a hard core C# fan... even when it is clearly still incomplete and a close relative to Java...

  10. #10
    Registered User
    Join Date
    Oct 2001
    Posts
    375
    Erm... that was me.

  11. #11
    the hat of redundancy hat nvoigt's Avatar
    Join Date
    Aug 2001
    Location
    Hannover, Germany
    Posts
    3,130
    >even when it is clearly still incomplete and a close relative to Java...

    What exactly don't you like about Java ? Is it the concept of OOP and managed memory ? Then you won't like C#. Is it because like me you think that Java had a nice theory, but somehow managed to implement it in a way that makes me laugh every time I hear a Java guy talk about the OO ability of the language ? Then you will like C#, with it's little const keyword.
    hth
    -nv

    She was so Blonde, she spent 20 minutes looking at the orange juice can because it said "Concentrate."

    When in doubt, read the FAQ.
    Then ask a smart question.

  12. #12
    Registered User
    Join Date
    Oct 2001
    Posts
    375
    nvoigt, good points.
    Well, maybe I will like C#, because you reflect my opinions on Java. I find that in my day to day I never use a Java applet, let alone a Java application. It seems like an education tool more than a useful product at this point (and not too much of an education tool). I like what Microsoft has theoretically done with C# so far, and think it would be nice if is implemented well. It would be great to free up servers a bit by cutting down on CGI scripts.

    Then again, not my cup 'o tea right now anyway as I don't write web apps. But interesting. Guess we'll see where it goes as far as standardization, etc..
    Allegro precompiled Installer for Dev-C++, MSVC, and Borland: http://galileo.spaceports.com/~springs/

  13. #13
    the hat of redundancy hat nvoigt's Avatar
    Join Date
    Aug 2001
    Location
    Hannover, Germany
    Posts
    3,130
    Well, C# unlike Java is a standard, so everyone could write a compiler for it.

    You can do anything you could do with C++. Well, some differences are there for sure, like the static function of some class instead of a global function main, but that is not something that would upset you I guess.

    Up to now, it is not multiplatform, but an open-source project is under way to convert the .NET framework and C# to Linux.

    I don't do many webapps, and admittedly Java is most of the time the only choice for these... but being the only choice is far from being a good tool.
    hth
    -nv

    She was so Blonde, she spent 20 minutes looking at the orange juice can because it said "Concentrate."

    When in doubt, read the FAQ.
    Then ask a smart question.

  14. #14
    Registered User
    Join Date
    Oct 2001
    Posts
    4
    How is it pronounced in speaking: C pound?
    C poundsign?

  15. #15
    Registered User
    Join Date
    Oct 2001
    Posts
    375
    C sharp as in music.
    Allegro precompiled Installer for Dev-C++, MSVC, and Borland: http://galileo.spaceports.com/~springs/

Popular pages Recent additions subscribe to a feed