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. In love with C#

In love with C#

Scheduled Pinned Locked Moved The Lounge
csharpc++
58 Posts 42 Posters 1 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.
  • E Eytukan

    I've just starting doing some projects with C#. I've done some stuff previously but those were some casual utilities. I've just stepping into some real dotnet stuff. C# :Wow.. what a cool thing on earth. I'm liking it so much I might start talking in C#. The love for C++ isn't fading but C# is pure glamour. I'm yet to dive deep into the lang, but even at these depths, it's so much nicer than my experiences with other languages. C# is one of the best creations of MS! :rose: :love: :rose:

    Starting to think people post kid pics in their profiles because that was the last time they were cute - Jeremy.

    S Offline
    S Offline
    Septimus Hedgehog
    wrote on last edited by
    #5

    I have an iMac as well and from what I read, MS's Office for Mac is a very good product. Now, if only MS could port VS to run on iMac as well then I'm sure it would be superior to Apple's Xcode and Objective-C. If only they could put VS/C# on the Mac... Until then, if ever. :((

    "I do not have to forgive my enemies, I have had them all shot." — Ramón Maria Narváez (1800-68).

    M R C 3 Replies Last reply
    0
    • S Septimus Hedgehog

      I have an iMac as well and from what I read, MS's Office for Mac is a very good product. Now, if only MS could port VS to run on iMac as well then I'm sure it would be superior to Apple's Xcode and Objective-C. If only they could put VS/C# on the Mac... Until then, if ever. :((

      "I do not have to forgive my enemies, I have had them all shot." — Ramón Maria Narváez (1800-68).

      M Offline
      M Offline
      Matt U
      wrote on last edited by
      #6

      I know it isn't VS. But you can use Mono to write C# applications for Mac. :)

      djj55: Nice but may have a permission problem Pete O'Hanlon: He has my permission to run it.

      S 1 Reply Last reply
      0
      • M Matt U

        I know it isn't VS. But you can use Mono to write C# applications for Mac. :)

        djj55: Nice but may have a permission problem Pete O'Hanlon: He has my permission to run it.

        S Offline
        S Offline
        Septimus Hedgehog
        wrote on last edited by
        #7

        Have you used it yourself? I'd be very interested in reading about any hands-on experience with it. I know I could look for reviews elsewhere but you get a different perspective from someone who works at the coalface, so to speak.

        "I do not have to forgive my enemies, I have had them all shot." — Ramón Maria Narváez (1800-68).

        A M L T 4 Replies Last reply
        0
        • E Eytukan

          I've just starting doing some projects with C#. I've done some stuff previously but those were some casual utilities. I've just stepping into some real dotnet stuff. C# :Wow.. what a cool thing on earth. I'm liking it so much I might start talking in C#. The love for C++ isn't fading but C# is pure glamour. I'm yet to dive deep into the lang, but even at these depths, it's so much nicer than my experiences with other languages. C# is one of the best creations of MS! :rose: :love: :rose:

          Starting to think people post kid pics in their profiles because that was the last time they were cute - Jeremy.

          N Offline
          N Offline
          Nemanja Trifunovic
          wrote on last edited by
          #8

          Meh. I've seen worse languages than C#, but there is really nothing exciting about it. Good enough for developing boring enterprise applications, I guess.

          utf8-cpp

          B 1 Reply Last reply
          0
          • S Septimus Hedgehog

            Have you used it yourself? I'd be very interested in reading about any hands-on experience with it. I know I could look for reviews elsewhere but you get a different perspective from someone who works at the coalface, so to speak.

            "I do not have to forgive my enemies, I have had them all shot." — Ramón Maria Narváez (1800-68).

            A Offline
            A Offline
            AspDotNetDev
            wrote on last edited by
            #9

            I've never used it, but it's actually called MonoDevelop. Based on the screenshots, it looks pretty similar to Visual Studio. The downloads page shows you the prerequisites you need. You might want to just install it and give it a try. That being said, Mono does have some limitations. For example, it does not implement WPF (there is Moonlight, which is a port of Silverlight, though I am unsure of if it works for Mac OS X).

            Thou mewling ill-breeding pignut!

            K 1 Reply Last reply
            0
            • E Eytukan

              I've just starting doing some projects with C#. I've done some stuff previously but those were some casual utilities. I've just stepping into some real dotnet stuff. C# :Wow.. what a cool thing on earth. I'm liking it so much I might start talking in C#. The love for C++ isn't fading but C# is pure glamour. I'm yet to dive deep into the lang, but even at these depths, it's so much nicer than my experiences with other languages. C# is one of the best creations of MS! :rose: :love: :rose:

              Starting to think people post kid pics in their profiles because that was the last time they were cute - Jeremy.

              Sander RosselS Offline
              Sander RosselS Offline
              Sander Rossel
              wrote on last edited by
              #10

              The thing I dislike most about C# are the users who are like Apple fan-boys. C# is amazing, perfect even, much better than anything else and especially much better than VB! Guess what, C# has its flaws. VB has its good points. As most languages have their strong and weak points. I like VB, I like C# a bit less, but in the end it comes down to picking the right language for the right solution.

              It's an OO world.

              public class Naerling : Lazy<Person>{
              public void DoWork(){ throw new NotImplementedException(); }
              }

              H 1 Reply Last reply
              0
              • E Eytukan

                I've just starting doing some projects with C#. I've done some stuff previously but those were some casual utilities. I've just stepping into some real dotnet stuff. C# :Wow.. what a cool thing on earth. I'm liking it so much I might start talking in C#. The love for C++ isn't fading but C# is pure glamour. I'm yet to dive deep into the lang, but even at these depths, it's so much nicer than my experiences with other languages. C# is one of the best creations of MS! :rose: :love: :rose:

                Starting to think people post kid pics in their profiles because that was the last time they were cute - Jeremy.

                R Offline
                R Offline
                Rahul Rajat Singh
                wrote on last edited by
                #11

                I worked with C++ for almost 6 years. I was in love with C++. I was reading all Stroustrup to Herb Sutter stuff religiously and was planning to start with James Coplien's book. Bu then suddenly things changed. I got a chance to work with C#. My First experience was "Wow, its reminds me of the syntax of java only million times better, It carry forward the C++ good stuff too. and on top of all the vast framework and awesome IDE makes working so cool." Now after working in C# for 2 years, I think. C# is awesome. there is no thing like C#. C# makes it possible to be more productive. It makes me keep my work life balance(I am getting emotional now). and the constant improvement in language (C# 4.5) makes me feel like never going back. SO for me there are only two languages: un-managed world of beautiful C++ and managed world of awesome and powerful C#. rest all are like #@#@#@# (find a suitable 4 letter word)

                1 Reply Last reply
                0
                • Sander RosselS Sander Rossel

                  The thing I dislike most about C# are the users who are like Apple fan-boys. C# is amazing, perfect even, much better than anything else and especially much better than VB! Guess what, C# has its flaws. VB has its good points. As most languages have their strong and weak points. I like VB, I like C# a bit less, but in the end it comes down to picking the right language for the right solution.

                  It's an OO world.

                  public class Naerling : Lazy<Person>{
                  public void DoWork(){ throw new NotImplementedException(); }
                  }

                  H Offline
                  H Offline
                  Hugh Gentry
                  wrote on last edited by
                  #12

                  Needs a coffeescript version to loose all the irritanting redundant brackets! Otherwise OK

                  1 Reply Last reply
                  0
                  • E Eytukan

                    I've just starting doing some projects with C#. I've done some stuff previously but those were some casual utilities. I've just stepping into some real dotnet stuff. C# :Wow.. what a cool thing on earth. I'm liking it so much I might start talking in C#. The love for C++ isn't fading but C# is pure glamour. I'm yet to dive deep into the lang, but even at these depths, it's so much nicer than my experiences with other languages. C# is one of the best creations of MS! :rose: :love: :rose:

                    Starting to think people post kid pics in their profiles because that was the last time they were cute - Jeremy.

                    R Offline
                    R Offline
                    Roger Wright
                    wrote on last edited by
                    #13

                    The last time I did any programming for money, it was developing database applications in Paradox Application Language and Pascal. When that ended, I tried in vain for years to learn C++ and MFC; I could never get past a conceptual framework for any app, and couldn't make the transition from procedural programming to event-driven programs hosted on modern platforms. C# is the first sensible thing Microsoft has done, for me, at least. I'm still just a hobbyist, but with the C# language, and the .Net Framework, I finally have tools that are understandable and usable. I completely understand your enthusiasm, though I envy your skill in C++. :-D

                    Will Rogers never met me.

                    1 Reply Last reply
                    0
                    • E Eytukan

                      I've just starting doing some projects with C#. I've done some stuff previously but those were some casual utilities. I've just stepping into some real dotnet stuff. C# :Wow.. what a cool thing on earth. I'm liking it so much I might start talking in C#. The love for C++ isn't fading but C# is pure glamour. I'm yet to dive deep into the lang, but even at these depths, it's so much nicer than my experiences with other languages. C# is one of the best creations of MS! :rose: :love: :rose:

                      Starting to think people post kid pics in their profiles because that was the last time they were cute - Jeremy.

                      T Offline
                      T Offline
                      The Nightcoder
                      wrote on last edited by
                      #14

                      I'd like to split that in two parts... I love C# and I love .NET Framework. - I love C# because it is terse yet elegant, like C, and - in contrast with C++ - has very little syntactic weirdness going on to support object-orientation. I especially like recent additions such as generics and lambda expressions, that while introducing some syntactic weirdness does so in a very careful and minimalistic way. - I love the .NET Framework for all the stuff I don't have to do. My first project in C# was an industrial control system using multi-threading, serial ports and TCP services. I was quite shocked when I realized I didn't have to implement any of that stuff myself. When I was about to implement an event queue to pass machine events between threads, I found the Queue class and just had to laugh... As for the VB:ers commenting here... you have the .NET Framework as well, and what you write will be compiled into the same MSIL or machine code. And what is beautiful in a language is purely a matter of taste. So I wouldn't even think of looking down on you. After all, I've spent over 10 years in earlier versions of VB, and although I come from C and prefer strong typing, it isn't THAT bad (the old versions, that is - I have spent very little time in VB.NET, but from what I understand, it is nowadays as strongly typed as you want it to be - making it better, in my opinion). And... I'm VERY jealous of one thing. Using C# in ASP.NET (or Razor), you're in a method body, and can't write other methods or functions. I know, views should be lightweight, but I prefer writing a four-line method over repeating the code ten times, and sometimes the task is too trivial and implementation-dependent that it doesn't belong in the controller. In VB, you can do that... :( If ony I could stand the syntax... but again, that's a matter of taste... :)

                      Peter the small turnip (1) It Has To Work. --RFC 1925[^]

                      Y 1 Reply Last reply
                      0
                      • E Eytukan

                        I've just starting doing some projects with C#. I've done some stuff previously but those were some casual utilities. I've just stepping into some real dotnet stuff. C# :Wow.. what a cool thing on earth. I'm liking it so much I might start talking in C#. The love for C++ isn't fading but C# is pure glamour. I'm yet to dive deep into the lang, but even at these depths, it's so much nicer than my experiences with other languages. C# is one of the best creations of MS! :rose: :love: :rose:

                        Starting to think people post kid pics in their profiles because that was the last time they were cute - Jeremy.

                        D Offline
                        D Offline
                        dazfuller
                        wrote on last edited by
                        #15

                        C# is okay, the framework makes a large number of things quite easy but it does have it's flaws like most other things. Outside of work I don't tend to use it, instead preferring things like C++, Go, Python and I'm quite getting into Node.js now. I have done some C# in my own time using Mono though.

                        1 Reply Last reply
                        0
                        • E Eytukan

                          I've just starting doing some projects with C#. I've done some stuff previously but those were some casual utilities. I've just stepping into some real dotnet stuff. C# :Wow.. what a cool thing on earth. I'm liking it so much I might start talking in C#. The love for C++ isn't fading but C# is pure glamour. I'm yet to dive deep into the lang, but even at these depths, it's so much nicer than my experiences with other languages. C# is one of the best creations of MS! :rose: :love: :rose:

                          Starting to think people post kid pics in their profiles because that was the last time they were cute - Jeremy.

                          T Offline
                          T Offline
                          The Nightcoder
                          wrote on last edited by
                          #16

                          To answer the original question: Love: - Clean, very readable and minimalistic syntax - C with object orientation the way it should have been done in C++ (backwards compatibility made C++ extremely ugly and cluttered in my opinion). - The type system in general. Admittedly a .NET feature, but integrates nicely with C#. - Reflection, generics, namespaces, lambdas and a lot of other stuff. - The ability to perform like C++ using "unsafe" and "unchecked" blocks, and possibly ngen when needed (almost never happens, but nice to know its there). Hate: - Inability to write methods in methods. The original docs say "we don't compile code onto the stack", which is ridiculous. It's a matter of scope and visibility, not where it gets compiled (of course not the stack). I don't want to clutter class namespace with small helpers only used in one method - presumably using local variables. - Inability to declare variables outside of getter and setter blocks in properties. I don't want shadow members in class namespace - too easy to inadvertently use the shadow member instead of the property. Those variables would work exactly like class members but would be invisible to the rest of the class. Maybe with a special keyword to make it clear that they aren't on the stack, but persist with the instance (or forever, if the property is static).

                          Peter the small turnip (1) It Has To Work. --RFC 1925[^]

                          E 1 Reply Last reply
                          0
                          • G GuyThiebaut

                            Enjoy your journey :thumbsup: I started on C# just over five years ago and have never looked back since - it is the most elegant programming language I have used so far.

                            “That which can be asserted without evidence, can be dismissed without evidence.”

                            ― Christopher Hitchens

                            C Offline
                            C Offline
                            Cathode Follower
                            wrote on last edited by
                            #17

                            In many respects c# can be considered to be proprietary 'Microsoft Java'. As Java is a respectable language, the same can be said about c#, but as Java's roots are in c, there are still some hang-ups from that far-off time. The one I really hate is the switch statement. vb's select case statement is much better. Whoever heard of jump statements? Yuk! Nowadays we all believe in goto-free programming. The one thing I miss in all these modern languages is Algol 60's wonderful feature of being able to define arrays with ranges of indices from, say, -n to +n. This can be useful in all kinds of situations.

                            T C K T 4 Replies Last reply
                            0
                            • N Nemanja Trifunovic

                              Meh. I've seen worse languages than C#, but there is really nothing exciting about it. Good enough for developing boring enterprise applications, I guess.

                              utf8-cpp

                              B Offline
                              B Offline
                              BobJanova
                              wrote on last edited by
                              #18

                              ... but that is 95% of what we do, even if you work for a 'clever stuff' company.

                              1 Reply Last reply
                              0
                              • E Eytukan

                                I've just starting doing some projects with C#. I've done some stuff previously but those were some casual utilities. I've just stepping into some real dotnet stuff. C# :Wow.. what a cool thing on earth. I'm liking it so much I might start talking in C#. The love for C++ isn't fading but C# is pure glamour. I'm yet to dive deep into the lang, but even at these depths, it's so much nicer than my experiences with other languages. C# is one of the best creations of MS! :rose: :love: :rose:

                                Starting to think people post kid pics in their profiles because that was the last time they were cute - Jeremy.

                                C Offline
                                C Offline
                                Carlos1907
                                wrote on last edited by
                                #19

                                Man, I love LINQ! In VB its ugly, but in C# its beautiful! ;P

                                1 Reply Last reply
                                0
                                • E Eytukan

                                  I've just starting doing some projects with C#. I've done some stuff previously but those were some casual utilities. I've just stepping into some real dotnet stuff. C# :Wow.. what a cool thing on earth. I'm liking it so much I might start talking in C#. The love for C++ isn't fading but C# is pure glamour. I'm yet to dive deep into the lang, but even at these depths, it's so much nicer than my experiences with other languages. C# is one of the best creations of MS! :rose: :love: :rose:

                                  Starting to think people post kid pics in their profiles because that was the last time they were cute - Jeremy.

                                  T Offline
                                  T Offline
                                  Thornik
                                  wrote on last edited by
                                  #20

                                  Ridiculous C# still has no virtual static methods. Even .NET has no such capability, what's suxx. C# cannot return multiple values from method. C# has very limited metaprogramming, it's a trend of the next decade. C#'s interfaces cannot be partly implemented inside themselves, even if method access no any fields. C# has no slices, killer feature of the D language. C# has no 'with' operator which reduces insignificant code. C# has ugly type cast syntax, which you have to use everywhere. In C# function cannot be overriden unless it's marked as virtual. LINQ syntax is also ugly. 'Switch' operator is the same primitive like you write on C in 70th! Seems, MS monkeys are happy with it. This list is a way far from completion, so sometime I think to leave this ridiculous student homework like ".NET" and use something more modern like 'D'.

                                  B K 2 Replies Last reply
                                  0
                                  • E Eytukan

                                    I've just starting doing some projects with C#. I've done some stuff previously but those were some casual utilities. I've just stepping into some real dotnet stuff. C# :Wow.. what a cool thing on earth. I'm liking it so much I might start talking in C#. The love for C++ isn't fading but C# is pure glamour. I'm yet to dive deep into the lang, but even at these depths, it's so much nicer than my experiences with other languages. C# is one of the best creations of MS! :rose: :love: :rose:

                                    Starting to think people post kid pics in their profiles because that was the last time they were cute - Jeremy.

                                    P Offline
                                    P Offline
                                    Pascal Ganaye
                                    wrote on last edited by
                                    #21

                                    The only thing I'd change would be to make objects and strings not nullable.

                                    int i1 = 5;
                                    int i2? = null;

                                    String s1 = '';
                                    String s1? = null;

                                    Button b1 = new Button();
                                    Button? b1 = null;

                                    1 Reply Last reply
                                    0
                                    • E Eytukan

                                      I've just starting doing some projects with C#. I've done some stuff previously but those were some casual utilities. I've just stepping into some real dotnet stuff. C# :Wow.. what a cool thing on earth. I'm liking it so much I might start talking in C#. The love for C++ isn't fading but C# is pure glamour. I'm yet to dive deep into the lang, but even at these depths, it's so much nicer than my experiences with other languages. C# is one of the best creations of MS! :rose: :love: :rose:

                                      Starting to think people post kid pics in their profiles because that was the last time they were cute - Jeremy.

                                      G Offline
                                      G Offline
                                      Gerco de Jager
                                      wrote on last edited by
                                      #22

                                      I'll never regret changing our default language from VB to C#! Love the syntax. Minor grudge: When looking at a pile of '}' having to add an 'else' it's difficult to navigate to the right one. Really hate: It's Case Sensitive! Which might be usefull for computer generated code, but makes no sense at all when man made. However, todays IDE's compensate retty well for that evil...

                                      M 1 Reply Last reply
                                      0
                                      • T Thornik

                                        Ridiculous C# still has no virtual static methods. Even .NET has no such capability, what's suxx. C# cannot return multiple values from method. C# has very limited metaprogramming, it's a trend of the next decade. C#'s interfaces cannot be partly implemented inside themselves, even if method access no any fields. C# has no slices, killer feature of the D language. C# has no 'with' operator which reduces insignificant code. C# has ugly type cast syntax, which you have to use everywhere. In C# function cannot be overriden unless it's marked as virtual. LINQ syntax is also ugly. 'Switch' operator is the same primitive like you write on C in 70th! Seems, MS monkeys are happy with it. This list is a way far from completion, so sometime I think to leave this ridiculous student homework like ".NET" and use something more modern like 'D'.

                                        B Offline
                                        B Offline
                                        Brad Stiles
                                        wrote on last edited by
                                        #23

                                        Thornik wrote:

                                        Ridiculous C# still has no virtual static methods. Even .NET has no such capability, what's suxx.

                                        I'm positive that I wouldn't call that "ridiculous". I'm not even sure I'd call it a shortcoming. I'll admit though, that I can't think of any problem I've ever had for which this would have been a solution.

                                        Thornik wrote:

                                        C# cannot return multiple values from method.

                                        Having worked with Perl, I don't see this as a particular disadvantage, either. Retrun a struct; you'll get roughly the same effect.

                                        Thornik wrote:

                                        C# has very limited metaprogramming, it's a trend of the next decade.

                                        Another "shortcoming" that has never affected my ability to do whatever I want in the language. However, I'm unlikely to be programming when the next decade rolls around in 2021, so I guess I somewhat non-chalant about this one...

                                        Thornik wrote:

                                        C#'s interfaces cannot be partly implemented inside themselves, even if method access no any fields.

                                        That is rather the point, isn't it? It's an interface, not an implmentation. If you want a partial implementation, use an abstract class.

                                        Thornik wrote:

                                        C# has no slices, killer feature of the D language.
                                        C# has no 'with' operator which reduces insignificant code.

                                        OK, I'll give you those.

                                        Thornik wrote:

                                        C# has ugly type cast syntax, which you have to use everywhere.

                                        No uglier than any other language I've ever worked with, though, and quite a bit simpler and obvious than some. Try it in Ada sometime.

                                        Thornik wrote:

                                        In C# function cannot be overriden unless it's marked as virtual.

                                        Not quite true. The "new" keyword will accomplish much the same task, albeit in a manner not quite identical.

                                        Thornik wrote:

                                        LINQ syntax is also ugly.

                                        Beauty is in the eye of the beholder. I love the LINQ syntax.

                                        Thornik wrote:

                                        'Switch' operator is the same primitive like you write on C in 70th! Seems, MS monkeys are happy with it.

                                        I have to admit, I don't have much of a problem with it, either, other than the r

                                        1 Reply Last reply
                                        0
                                        • S Septimus Hedgehog

                                          Have you used it yourself? I'd be very interested in reading about any hands-on experience with it. I know I could look for reviews elsewhere but you get a different perspective from someone who works at the coalface, so to speak.

                                          "I do not have to forgive my enemies, I have had them all shot." — Ramón Maria Narváez (1800-68).

                                          M Offline
                                          M Offline
                                          Matt U
                                          wrote on last edited by
                                          #24

                                          MonoDevelop was the name I was actually looking for, as the response to my original post has stated. No, I have not used it personally, though I have been considering taking a look at it. It does have limitations. But you can go to the Mono Web site and look up the implement features as well as the features which are unsupported.

                                          djj55: Nice but may have a permission problem Pete O'Hanlon: He has my permission to run it.

                                          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