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. The Lounge
  3. Favorite C# features

Favorite C# features

Scheduled Pinned Locked Moved The Lounge
csharpquestion
13 Posts 9 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.
  • X Xoy

    What are your favorite C# features? Mine would have to be the for loop... being able to specify the condition :-D

    T Offline
    T Offline
    toxcct
    wrote on last edited by
    #2

    Xoy wrote:

    What are your favorite C# features?

    i'm C++ coder... do I have to explain though ? :-D :cool::rose:


    TOXCCT >>> GEII power
    [toxcct][VisualCalc 2.20][VCalc 3.0 soon...]

    1 Reply Last reply
    0
    • X Xoy

      What are your favorite C# features? Mine would have to be the for loop... being able to specify the condition :-D

      N Offline
      N Offline
      Nish Nishant
      wrote on last edited by
      #3

      Xoy wrote:

      Mine would have to be the for loop

      The for loop isn't exactly a C# original! :~ Regards, Nish

      My blog : Nish’s thoughts on MFC, C++/CLI and .NET

      X A 2 Replies Last reply
      0
      • N Nish Nishant

        Xoy wrote:

        Mine would have to be the for loop

        The for loop isn't exactly a C# original! :~ Regards, Nish

        My blog : Nish’s thoughts on MFC, C++/CLI and .NET

        X Offline
        X Offline
        Xoy
        wrote on last edited by
        #4

        Nishant Sivakumar wrote:

        The for loop isn't exactly a C# original!

        I know, but not all languages have it ;) If you really think about it there isn't all that much different in all the cish languages ;P

        P 1 Reply Last reply
        0
        • N Nish Nishant

          Xoy wrote:

          Mine would have to be the for loop

          The for loop isn't exactly a C# original! :~ Regards, Nish

          My blog : Nish’s thoughts on MFC, C++/CLI and .NET

          A Offline
          A Offline
          Albert Pascual
          wrote on last edited by
          #5

          believe he is talking about foreach? :confused:

          X 1 Reply Last reply
          0
          • A Albert Pascual

            believe he is talking about foreach? :confused:

            X Offline
            X Offline
            Xoy
            wrote on last edited by
            #6

            no, but that one is good too :)

            1 Reply Last reply
            0
            • X Xoy

              Nishant Sivakumar wrote:

              The for loop isn't exactly a C# original!

              I know, but not all languages have it ;) If you really think about it there isn't all that much different in all the cish languages ;P

              P Offline
              P Offline
              Paul Conrad
              wrote on last edited by
              #7

              Xoy wrote:

              I know, but not all languages have it

              What languages don't have it? Just about any language I've run across has some form of a FOR loop. Sure Basic/VB is not C/C++/C#/Java-like but still similar. Even PHP is C-like. PC

              X 1 Reply Last reply
              0
              • X Xoy

                What are your favorite C# features? Mine would have to be the for loop... being able to specify the condition :-D

                S Offline
                S Offline
                Somanova420
                wrote on last edited by
                #8

                using (IDisposable) { }

                A 1 Reply Last reply
                0
                • P Paul Conrad

                  Xoy wrote:

                  I know, but not all languages have it

                  What languages don't have it? Just about any language I've run across has some form of a FOR loop. Sure Basic/VB is not C/C++/C#/Java-like but still similar. Even PHP is C-like. PC

                  X Offline
                  X Offline
                  Xoy
                  wrote on last edited by
                  #9

                  I'm referring to being able to specify the condition... yes, most languages have a for loop... but in vb for example, its strictly counting.

                  P 1 Reply Last reply
                  0
                  • X Xoy

                    I'm referring to being able to specify the condition... yes, most languages have a for loop... but in vb for example, its strictly counting.

                    P Offline
                    P Offline
                    Paul Conrad
                    wrote on last edited by
                    #10

                    Xoy wrote:

                    but in vb for example, its strictly counting

                    Yep, in VB you're stuck mimicing C-like FOR loops using WHILE loops.

                    1 Reply Last reply
                    0
                    • S Somanova420

                      using (IDisposable) { }

                      A Offline
                      A Offline
                      Alvaro Mendez
                      wrote on last edited by
                      #11

                      Yes!


                      Don't make me come down there. - God

                      1 Reply Last reply
                      0
                      • X Xoy

                        What are your favorite C# features? Mine would have to be the for loop... being able to specify the condition :-D

                        C Offline
                        C Offline
                        code frog 0
                        wrote on last edited by
                        #12

                        So Microsoft, Makers of the next biggest thing that they will drop 4 years later cannot drop C#.

                        I only read CP for the articles. Code-frog System Architects, Inc.

                        1 Reply Last reply
                        0
                        • X Xoy

                          What are your favorite C# features? Mine would have to be the for loop... being able to specify the condition :-D

                          G Offline
                          G Offline
                          Gary Kirkham
                          wrote on last edited by
                          #13

                          I know that it is a .Net feature, but the Image class saved me a lot of work on the last app I wrote. :jig: Gary Kirkham Forever Forgiven and Alive in the Spirit He is no fool who gives what he cannot keep to gain what he cannot lose. - Jim Elliot Me blog, You read

                          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