a couple of questions about c#

This is a discussion on a couple of questions about c# within the C# Programming forums, part of the General Programming Boards category; Firstly what do I need to program it? I have the ms .net framwork installed but how do I create ...

  1. #1
    Registered User
    Join Date
    Aug 2004
    Posts
    731

    a couple of questions about c#

    Firstly what do I need to program it? I have the ms .net framwork installed but how do I create programs? Does it cost money to get the program? or is there a something free? I want to get a book on it some time soon and I want the book to go somewhat with the program I use to make the programs.

    Thanks alot!

  2. #2
    Super Moderator
    Join Date
    Sep 2001
    Posts
    4,913
    With the .NET framework you should get a program called cs.exe. It's a command-line C# compiler. If you don't have it, you can download the .NET SDK free from Microsoft.com. Visual Studio.NET is a great app for devloping .NET applications, but it costs upwards of a thousand dollars, though there are ways to get it free (I did - but they're starting to taper off the give-aways). There's a free download of the 2005 beta version (search the board - someone had a link). There are other methods too. You can get Elipse (which is a very generalized IDE, and just set it up to use cs.exe as the compiler.

  3. #3
    BMJ
    BMJ is offline
    Banal internet user BMJ's Avatar
    Join Date
    Aug 2002
    Location
    Chicagoland
    Posts
    1,380
    This is free for now: http://lab.msdn.microsoft.com/expres...p/default.aspx

    But, it implements the .NET Platform/SDK beta 2.0, you cannot use VC# 2005 to create .NET 1.1 applications.

    You can try http://www.icsharpcode.com

  4. #4
    Registered User
    Join Date
    Aug 2004
    Posts
    731
    hmm I tried sharpcode. I have it. I'm not sure bout it or any c#. But I want to try it out.

    Oh and are the functions all diferent from c++ to c#. Like the cout. And all of those?

  5. #5
    Super Moderator
    Join Date
    Sep 2001
    Posts
    4,913
    Yeah, they're all different, but with .NET also comes the .NET framework - which is a set of standardized functions for use in any of the .NET languages. Of course, by default, C++.NET will use something very similar (if not identical) to the current standard of C++. Once you get used to the style of the language you'll find C# to be extremely intuitive.

  6. #6
    Registered User
    Join Date
    Aug 2004
    Posts
    731
    Uhh... what does intuitive mean? I am guesing more the same.

    Oh and I jsut got that free version of that .net sdk thing by microsoft.



    Ok I got a big question...

    Is it really worth it to get the free version of all of that stuff they offer? because downloading 270 mbs on a 56k modem isn't very plesent.
    Last edited by Rune Hunter; 09-20-2004 at 02:22 PM.

  7. #7
    Super Moderator
    Join Date
    Sep 2001
    Posts
    4,913
    Intuitive basically means it make sense. It's basically matter of language levels. It's really hard for someone to read through an ASM program and figure out what it does, because ASM is 1 step above binary. C# is a very high level language. You could look at some source code, and because the function names are written purely for humans, with only a little knowledge of C-style syntax (like loops, etc... - common to almost every programming language) you could easily read and fuly understand a very large program.

  8. #8
    Registered User
    Join Date
    Aug 2004
    Posts
    731
    Well thats nice...

    I guess I'll finish my c++ book when I get then see or something. But c# does look easy if you know what your doing.

  9. #9
    BMJ
    BMJ is offline
    Banal internet user BMJ's Avatar
    Join Date
    Aug 2002
    Location
    Chicagoland
    Posts
    1,380
    C# is a RAD (rapid application development) language. It is designed to allow developers to create elegant, yet powerful applications for web and client use with great ease.

  10. #10
    Registered User
    Join Date
    Aug 2004
    Posts
    731
    Well I guess I am going to download all of the stuff 1 by 1. Then I will look in to c# and maybe get a book on it and so on.


    Thanks for all of yoru advice/help!

  11. #11
    ___
    Join Date
    Jun 2003
    Posts
    806
    What are the problems with C#? Can't find any information on the negative side of using it.
    "When I die I want to pass peacefully in my sleep like my grandfather did, not screaming and yelling like the passengers in his car."

  12. #12
    the hat of redundancy hat nvoigt's Avatar
    Join Date
    Aug 2001
    Location
    Hannover, Germany
    Posts
    3,138
    The most common complaint is the .NET Framework of 27 MB that you have to install prior to running any .NET Applications. In the age of flatrate internet access this should not be a big deal, but it's the thing I hear most.

    Speed obviously is a little bit worse than something otimized for speed like C++, but it's not noticable in anything but high speed batch processing server applications. Anything client side will involve the user, who is always slower than any application.

    There is a const keyword, but it cannot be applied to methods of classes. For me this is a design flaw that hurts the most, though I rarely see people practicing const correctness in C++, so this might not make a difference to those that ignore this feature anyway.

    This is what I can think of. 27MB download or disk install once, 10% less executable speed and a missing feature that is great but totally underrated and frequently neither used nor taught in C++.
    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.

  13. #13
    Registered User
    Join Date
    Oct 2004
    Posts
    120
    Quote Originally Posted by sean_mackrory
    ...Visual Studio.NET is a great app for devloping .NET applications, but it costs upwards of a thousand dollars, though there are ways to get it free (I did - but they're starting to taper off the give-aways)...
    VC# only (non-studio) IDE can be had for $90 at places like Amazon. Now I know thats a small fortune to a college student, but the IDE integrates a lot of things to make learning the language easier I think. Plus I am addicted to auto-complete. I am terrible at rote memorization, so having a list of possible functions and their parameter lists availabe is a huge time saver for me.

    PK

  14. #14
    Registered User
    Join Date
    Aug 2004
    Posts
    731
    well I am not in calloge or close ot it yet. I have not much money esp. after halo 2 comes out. And I need to get a bette computer then this peice opf crap I am stuck with.

  15. #15
    Super Moderator
    Join Date
    Sep 2001
    Posts
    4,913
    The other complaint is that you can't do much low-level programming. I'm not sure if VC++.NET preserve's the ability to wrtie directly to memory, etc... but as far as C# goes, it's geared towards a high-level market.

Page 1 of 2 12 LastLast
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Couple of simple directdraw questions.
    By Deo in forum Game Programming
    Replies: 3
    Last Post: 05-25-2005, 07:55 AM
  2. Studying for Final, Couple Questions...
    By stewade in forum C Programming
    Replies: 4
    Last Post: 05-10-2004, 05:02 PM
  3. A couple of Questions
    By johnnabn in forum C++ Programming
    Replies: 4
    Last Post: 02-24-2003, 09:10 PM
  4. A couple of PowerPoint questions.
    By sean in forum Tech Board
    Replies: 2
    Last Post: 01-27-2003, 04:26 AM
  5. New to C++/ Couple of questions...
    By danielthomas3 in forum C++ Programming
    Replies: 13
    Last Post: 04-14-2002, 03:46 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21