Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. New to C# Programming

New to C# Programming

Scheduled Pinned Locked Moved C#
csharp
15 Posts 11 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • I Offline
    I Offline
    invalidsyntax1010
    wrote on last edited by
    #1

    Hello all, I am new to programming and was wandering if I should learn with out a gui first or just command line. thanks:)

    D P G H C 9 Replies Last reply
    0
    • I invalidsyntax1010

      Hello all, I am new to programming and was wandering if I should learn with out a gui first or just command line. thanks:)

      D Offline
      D Offline
      Dio22
      wrote on last edited by
      #2

      Most programmers start off learning how to manipulate console(or command line) programs. However, developing a GUI in the past has been a much more difficult and tedious process.. With the introduction of drag and drop development environments, programming windows forms has become exponentially easier. But, I'd still start off learning simple black box console programs. (If you're referring to developing without an IDE, that's how I started. But, it's not the easy way. Command line compilers like to puke unreadable syntax errors and exceptions at you. I had college professors to help me decipher.) -- modified at 17:50 Friday 24th August, 2007

      1 Reply Last reply
      0
      • I invalidsyntax1010

        Hello all, I am new to programming and was wandering if I should learn with out a gui first or just command line. thanks:)

        P Offline
        P Offline
        PIEBALDconsult
        wrote on last edited by
        #3

        If, by "with out a gui" you mean; without an IDE, I'd say, no, definitely use an IDE (Visual Studio perhaps). But starting out writing console applications with that IDE is a very good idea.

        C 1 Reply Last reply
        0
        • I invalidsyntax1010

          Hello all, I am new to programming and was wandering if I should learn with out a gui first or just command line. thanks:)

          G Offline
          G Offline
          ghle
          wrote on last edited by
          #4

          Naw, you gotta do the typical "Hello World" first, which would be GUI. Definitely use a visual IDE to develop your code. Gary

          1 Reply Last reply
          0
          • I invalidsyntax1010

            Hello all, I am new to programming and was wandering if I should learn with out a gui first or just command line. thanks:)

            H Offline
            H Offline
            humayunlalzad
            wrote on last edited by
            #5

            If you have enough time start with GUI then commandLine and then GUI forever.

            C 1 Reply Last reply
            0
            • P PIEBALDconsult

              If, by "with out a gui" you mean; without an IDE, I'd say, no, definitely use an IDE (Visual Studio perhaps). But starting out writing console applications with that IDE is a very good idea.

              C Offline
              C Offline
              Christian Graus
              wrote on last edited by
              #6

              No, he plainly doesn't mean that. He means should he write console or GUI programs.

              Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

              1 Reply Last reply
              0
              • I invalidsyntax1010

                Hello all, I am new to programming and was wandering if I should learn with out a gui first or just command line. thanks:)

                C Offline
                C Offline
                Christian Graus
                wrote on last edited by
                #7

                Write command line programs first. If you do, you'll be streets ahead of most other people learning today, who learn by playing with the forms designer, and have big holes in their knowledge as a result.

                Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

                I 1 Reply Last reply
                0
                • C Christian Graus

                  Write command line programs first. If you do, you'll be streets ahead of most other people learning today, who learn by playing with the forms designer, and have big holes in their knowledge as a result.

                  Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

                  I Offline
                  I Offline
                  invalidsyntax1010
                  wrote on last edited by
                  #8

                  Thanks for the answers I will continue to use SharpDevelop since vs2005 is to much dough ugh boring command line lol oh well I will search for some good tutorials... anyone like sharpdeveoplemt or vs2005 (rich folks lol)

                  C 1 Reply Last reply
                  0
                  • I invalidsyntax1010

                    Thanks for the answers I will continue to use SharpDevelop since vs2005 is to much dough ugh boring command line lol oh well I will search for some good tutorials... anyone like sharpdeveoplemt or vs2005 (rich folks lol)

                    C Offline
                    C Offline
                    ChrisKo 0
                    wrote on last edited by
                    #9

                    SharpDevelope used to be great, until MS release the Express versions of Visual Studio. I would recommend you download a copy of VS Express to learn on. http://msdn2.microsoft.com/en-us/express/default.aspx[^]

                    1 Reply Last reply
                    0
                    • I invalidsyntax1010

                      Hello all, I am new to programming and was wandering if I should learn with out a gui first or just command line. thanks:)

                      L Offline
                      L Offline
                      Luc Pattyn
                      wrote on last edited by
                      #10

                      My advice is twofold: - download Visual Studio Express Edition, it is free and it works really well; - buy at least one up-to-date introductory book on the programming language of your choice, make sure the book targets Windows and if it relies on a specific IDE it better be Visual Studio; and then work your way through the book to make sure you fully understand the language; it will teach you the most important classes, and it will probably show you how to do console apps first, windows apps later. At first, don't try to figure it all out yourself, let the book be your guide ! It will be much much faster, and much more thorough at the same time. :)

                      Luc Pattyn [Forum Guidelines] [My Articles]


                      this weeks tips: - make Visual display line numbers: Tools/Options/TextEditor/... - show exceptions with ToString() to see all information - before you ask a question here, search CodeProject, then Google


                      1 Reply Last reply
                      0
                      • I invalidsyntax1010

                        Hello all, I am new to programming and was wandering if I should learn with out a gui first or just command line. thanks:)

                        G Offline
                        G Offline
                        George L Jackson
                        wrote on last edited by
                        #11

                        Stick with learning just the language via the console. Learning with a GUI will distract you from learning the fundamentals. You need to crawl (console) before you walk (GUI).

                        "We make a living by what we get, we make a life by what we give." --Winston Churchill

                        1 Reply Last reply
                        0
                        • H humayunlalzad

                          If you have enough time start with GUI then commandLine and then GUI forever.

                          C Offline
                          C Offline
                          Colin Angus Mackay
                          wrote on last edited by
                          #12

                          humayunlalzad wrote:

                          start with GUI then commandLine and then GUI forever.

                          :confused: Why? And GUI forever is not valid. There are many types of program, not all require a GUI. (A windows service, for example)


                          -- Always write code as if the maintenance programmer were an axe murderer who knows where you live. Upcoming FREE developer events: * Glasgow: Agile in the Enterprise Vs. ISVs, Mock Objects, SQL Server CLR Integration, Reporting Services, db4o ... * Reading: SQL Bits My website

                          1 Reply Last reply
                          0
                          • I invalidsyntax1010

                            Hello all, I am new to programming and was wandering if I should learn with out a gui first or just command line. thanks:)

                            I Offline
                            I Offline
                            invalidsyntax1010
                            wrote on last edited by
                            #13

                            Thanks for all the input on command vs gui for noobs... also thanks for the express edition link much appreciated and if you have any wisdom regarding programming please share :) Thanks alot Mark Nooby programmer

                            1 Reply Last reply
                            0
                            • I invalidsyntax1010

                              Hello all, I am new to programming and was wandering if I should learn with out a gui first or just command line. thanks:)

                              T Offline
                              T Offline
                              Thomas Stockwell
                              wrote on last edited by
                              #14

                              If you were new to programming and starting with C++ I would suggest a non-GUI application. However C# is made for the GUI interface and makes learning GUI programming very easy. Still, the approach for commandline programs in C# and C++ is quite a bit different.

                              Regards, Thomas Stockwell Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. Visit my homepage Oracle Studios[^]

                              G 1 Reply Last reply
                              0
                              • T Thomas Stockwell

                                If you were new to programming and starting with C++ I would suggest a non-GUI application. However C# is made for the GUI interface and makes learning GUI programming very easy. Still, the approach for commandline programs in C# and C++ is quite a bit different.

                                Regards, Thomas Stockwell Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. Visit my homepage Oracle Studios[^]

                                G Offline
                                G Offline
                                George L Jackson
                                wrote on last edited by
                                #15

                                Yes, you are right. In C++ and C++/CLI, you can write a simple program inside of the main function. However, C# requires you write your simple program inside of a class inside of a static method. Thus, a new programmer has to contend with OOP at the start before learning about the fundamentals such as variable scope and iteration. When you add the GUI in the picture, you are dropping a lot of learning overhead that overwhelms many new programmers. Thus, they may miss learning what they really need to be solid programmers. In a nutshell, keep it simple and build on a solid base. Fancy GUI programming can be learned later with the fundamentals under their belts.

                                "We make a living by what we get, we make a life by what we give." --Winston Churchill

                                1 Reply Last reply
                                0
                                Reply
                                • Reply as topic
                                Log in to reply
                                • Oldest to Newest
                                • Newest to Oldest
                                • Most Votes


                                • Login

                                • Don't have an account? Register

                                • Login or register to search.
                                • First post
                                  Last post
                                0
                                • Categories
                                • Recent
                                • Tags
                                • Popular
                                • World
                                • Users
                                • Groups