1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Is C a must to learn C#

Discussion in 'C, C++, C#' started by blackscrapy, Feb 9, 2015.

  1. blackscrapy

    blackscrapy Newbie

    Joined:
    Oct 30, 2014
    Messages:
    41
    Likes Received:
    5
    Howdy!

    I have just stepped into programming and my immediate goal is to be able to code nifty desktop based apps like bots, crawlers and scrapers. I read a few forums and it seems that C# is a suggested language for coding such kind of apps.

    However, the problem is, I have no background in programming. So do I absolutely need to learn C before I even attempt at learning C# or can I start right from C# itself? I know learning C would help a lot in the transition, but I just wanted to know if it's mandatory to learn it.

    Also any good tutorials or resources you guys could suggest for C/ C# programming. That would be very useful to me.

    I am currently learning as much as I can by watching the Harvard CS50 lecture videos and trying to code myself with CodeBlocks...lol :)

    Many thanks
     
  2. tiyowan

    tiyowan Regular Member

    Joined:
    Aug 7, 2013
    Messages:
    251
    Likes Received:
    137
    This.

    With C# you'll have to dig into the associated .NET framework, which is not for the faint of heart.
    Python is much easier and gets the job done. It's also what the cool kids are learning in compsci
    school these days as their language in their introduction to programming courses.
     
  3. blackscrapy

    blackscrapy Newbie

    Joined:
    Oct 30, 2014
    Messages:
    41
    Likes Received:
    5
    Thanks a lot guys.
     
  4. DarkPixel

    DarkPixel Jr. VIP Jr. VIP

    Joined:
    Oct 4, 2011
    Messages:
    1,348
    Likes Received:
    1,252
    Location:
    ↓↓↓↓
    Home Page:
    Learn C#. The .net framework is huge, but that doesn't mean you should learn all of it. That just means that you can do anything with it.
    I myself dislike Python, but if you prefer the syntax of Python more and find it easier, it is still a great language to learn.
     
  5. sikandar

    sikandar Senior Member

    Joined:
    Mar 15, 2008
    Messages:
    1,149
    Likes Received:
    1,037
    Learning a procedural language like C will make your base strong as you'd learn various programming constructs. C# is tied to Microsoft platform and does not use pointers like in C. C# may be a good first object oriented language to learn, but better get your fundamentals about procedural languages clear before going in for OOP.
     
  6. blackscrapy

    blackscrapy Newbie

    Joined:
    Oct 30, 2014
    Messages:
    41
    Likes Received:
    5
    Okay, this might be a dumb question, but can python be used to create Windows based apps, or does it need to be run from a Linux server (web based)?

    Thanks
     
  7. DarkPixel

    DarkPixel Jr. VIP Jr. VIP

    Joined:
    Oct 4, 2011
    Messages:
    1,348
    Likes Received:
    1,252
    Location:
    ↓↓↓↓
    Home Page:
    Python can be used to create Windows apps, you just need a GUI framework (WxPython is a popular choice). But if you don't want a GUI, you can code a Windows console app easily!
     
    • Thanks Thanks x 2
  8. blackscrapy

    blackscrapy Newbie

    Joined:
    Oct 30, 2014
    Messages:
    41
    Likes Received:
    5
    Thanks DarkPixel
     
    • Thanks Thanks x 1
  9. mhassni

    mhassni Junior Member

    Joined:
    Apr 27, 2014
    Messages:
    134
    Likes Received:
    12
    Just go ahead and start learning C# . Avoid C as the most advanced language. If you want something easier go with vb.net
     
  10. Aty

    Aty Jr. VIP Jr. VIP

    Joined:
    Jan 27, 2011
    Messages:
    5,994
    Likes Received:
    4,089
    Occupation:
    SEO (Senior Erection Officer)
    Location:
    your 6 o'clock
    Home Page:
  11. blackscrapy

    blackscrapy Newbie

    Joined:
    Oct 30, 2014
    Messages:
    41
    Likes Received:
    5
    Thank you so much guys for all your suggestions. Please keep them coming.

    :)
     
  12. DarkPixel

    DarkPixel Jr. VIP Jr. VIP

    Joined:
    Oct 4, 2011
    Messages:
    1,348
    Likes Received:
    1,252
    Location:
    ↓↓↓↓
    Home Page:
    C# is not tied to the Microsoft platform anymore. Ever heard of the Mono project, which is a cross-platform .net framework? Ever hard of the Unity game engine? Unity uses mono, for cross-platform game builds. Unity supports almost every platform.

    C# is already one of the most used programming languages worldwide, and it keeps getting better. Not to mention that .net is becoming open source by Microsoft itself.

    And why does C# need to have pointers like in C? Pointers only complicate stuff, and they are unnecessary for most of the stuff we all code.

    Also why should OP get the fundamentals of procedural languages before OOP? It's a matter of personal preference.
     
  13. asmallduck

    asmallduck Newbie

    Joined:
    Jan 12, 2015
    Messages:
    17
    Likes Received:
    1
    I feel like you're getting in too deep too quick. Keeping your end goal in mind I suggest you buy* a book on C# or programming basics and learn the basics and syntax before you start to develop a rather larger project like this. Look up tutorials online and begin with basic projects to sort of get your feet wet before you jump right into your end goal. Most languages follow the same format so once you learn your first the others are easier to learn from their. So no you don't need to know C to learn C# but I suggest you start with simple programs before developing your own major ones.
     
  14. uncguy4321

    uncguy4321 Regular Member

    Joined:
    Jul 10, 2011
    Messages:
    340
    Likes Received:
    120
    Occupation:
    Part time contractor and consultant...but full tim
    Location:
    Parts unknown (eastern US)
    C# and C are nearly different complete languages...no need to learn C first. No need to learn C or C++ unless u are gonna learn to develop games or work on high end programs with teams like photoshop or sometrhing. C# will do all you need at a speed absolutely within your guidelines.

    I have developed software in c# for years upon years and I still need to check syntax and references. That will never stop really. Dont try to learn everything at first and then try to make stuff. Just Learn the basics then start building your app, you will pick up the stuff you need as you need to learn it.
     
    • Thanks Thanks x 1
  15. hillbill

    hillbill Registered Member

    Joined:
    Jan 2, 2010
    Messages:
    64
    Likes Received:
    49
    A good beginners ebook is "Head First C#"
     
    • Thanks Thanks x 1
  16. DarkPixel

    DarkPixel Jr. VIP Jr. VIP

    Joined:
    Oct 4, 2011
    Messages:
    1,348
    Likes Received:
    1,252
    Location:
    ↓↓↓↓
    Home Page:
    Yeap, the Head First books are probably the best programming books.
     
  17. DarkPixel

    DarkPixel Jr. VIP Jr. VIP

    Joined:
    Oct 4, 2011
    Messages:
    1,348
    Likes Received:
    1,252
    Location:
    ↓↓↓↓
    Home Page:
    Why? You can't make a statement with no arguments to back it up.
     
    Last edited: Feb 10, 2015
  18. Debugger

    Debugger Junior Member

    Joined:
    Aug 16, 2009
    Messages:
    174
    Likes Received:
    34
    Location:
    India
    So, you are new programming, I would suggest take C course not for learning to code but rather understanding concept.C provides really good base for that.As for C# which Object oriented based, things will quite different if you are thinking of making bot etc stuff.C# is ultimate choice for making any desktop app today as extensive reusable components are already available however don't jump into C# just like that, OOP is lot of harder when it comes to implementing in N -tier/applications and C which procedural programming language has very easy to follow flow.You might not understand all underlying things in C# you will get confused eventually.

    Focus more on concept and try to get it into your head properly.Youtube is best place. :)
     
    • Thanks Thanks x 1
  19. tiyowan

    tiyowan Regular Member

    Joined:
    Aug 7, 2013
    Messages:
    251
    Likes Received:
    137
    Arguing over languages and frameworks is a trap many new developers fall into. Don't sit on one side of the fence, i.e. Microsoft vs Open Source. Use the right tool (framework/language) for the right job and move on.
     
    • Thanks Thanks x 1
  20. chocolatecricket

    chocolatecricket Junior Member

    Joined:
    Mar 23, 2010
    Messages:
    100
    Likes Received:
    12
    C is not a prerequisite to learn c#.C# is much cleaner and easier to use syntax wise then c++ just because it was built ground up for full OOP. ;)