Learning C# Help (vb newbie)

Discussion in 'Programming' started by Craigw, Jan 13, 2009.

  1. #1
    Hey everyone, i have started learning C# and would really like some tips on how to learn it along with Object Orientated methods, since im still stuck in the event driven mindset, i find OOP really hard to grasp atm.

    can anyone give some pointers on how they learnt OOP, and C#, because right now the developing side looks really messy from my point of view.

    the whole idea of using classes, objects, modualization, and polymorphism is a big leap for me and am quite stuck at the moment, as to where i should start learning, and what i should learn first (OOP concepts, or delve straight into C# and learn it along the way.)
     
    Craigw, Jan 13, 2009 IP
  2. vexusdev

    vexusdev Peon

    Messages:
    6
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Craig don't worry. Every language is close enough that you will fit right in once you learn C#'s Syntax and get comfortable using the studio.

    Honestly, If I were in your position I would start with the basics:

    Conditional statements(IF)
    Iterations(Loops)
    Input/Output
    Operators (And,or,Not)

    Once you have the hang of the basics then you move on to what you want to learn.

    The best way of doing that is to use google.com and type in exactly what you are struggling on or you want to know. Try to find examples and tutorials.

    For example earlier I forgot how to make a yes or no message box and get the input so I googled: delphi message yes or no

    and I got my answer. :)

    Good luck! :)
     
    vexusdev, Jan 13, 2009 IP
  3. Craigw

    Craigw Peon

    Messages:
    50
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    yup, most of the stuff i have covered in vb, and vb.net, though the actual structure of how c# confuses me a lot :(, and yea i have been trying to find a good book, but most seem to be in the old C# 1.0 or 2.0, newest is 3.0, which includes LINQ.

    and ive managed to delve into the code, i can write simple gui and console applications with it, though i seem to have it stuck in my mind that when i start to delve into more complex programming strategies, im gonna get stuck, as i still have little to no knowledge of how OOP is used, im reading a couple of guides on basic OOP concepts, and how they are/can be implemented.

    I know this is going to help me a lot when i learn this, though i feel its not going to be as easy as vb or vb.net was (more of a challenge :p)
     
    Craigw, Jan 13, 2009 IP
  4. michelle01x

    michelle01x Guest

    Messages:
    13
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    I am also just a beginner in C# but asid from VB, I have a background in Java and I find it very helpful since coding in Java is more similar to coding in C#. I cannot suggest any books on C# at the moment, but I think that reading about OOP as regards to Java will help you better understand C#.

    But then again, I may be wrong and get your head mssed up. >_< But trying won't hurt right? :)
     
    michelle01x, Jan 13, 2009 IP
  5. Craigw

    Craigw Peon

    Messages:
    50
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Yea, I haven't dealt with Java or C++, and have a very limited OOP knowledge unfortunately...

    Though doing it the long way round, by learning Java or C++, then C# seems very longwinded, and would probably defeat the purpose of learning OOP for C# by using a language that i would not like to use. (even though i like Java and C++, I wouldnt see myself programming with either of them.)
     
    Craigw, Jan 13, 2009 IP
  6. michelle01x

    michelle01x Guest

    Messages:
    13
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Hmm... I get your point. Well, I may be able to help you out. But what is it about OOP that you're finding rather confusing?
     
    michelle01x, Jan 13, 2009 IP
  7. Craigw

    Craigw Peon

    Messages:
    50
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    the actual development of a program using OOP, like design techniques, learning how to use the right methodology for the right problems, just general stuff like that.
     
    Craigw, Jan 13, 2009 IP
  8. -Hammad-

    -Hammad- Peon

    Messages:
    37
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #8
    -Hammad-, Jan 15, 2009 IP
  9. Evgeniy

    Evgeniy Member

    Messages:
    164
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    48
    #9
    Local Library may help you.
     
    Evgeniy, Jan 15, 2009 IP
  10. Jeremy Morgan

    Jeremy Morgan Peon

    Messages:
    322
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #10
    If you really want to understand OOP, get one or both of these books:

    The Object Oriented Thought Process
    (under 10 bucks used!)

    OOP Demystified
    (also cheap! best for absolute beginners)

    These two books lay a really solid foundation for any language.

    I too started out with VB, which made languages like C# confusing at first. But once you master C#, you'll be able to skip to java or C++ a lot easier (if you need to, you may be able to everything you want with C#)

    Then, once you have a good foundation, start getting into design patterns. This book is the only one you need:

    Head First Design Patterns

    I've read all three of these books, and they were worth every penny. Hope this helps.
     
    Jeremy Morgan, Jan 17, 2009 IP
  11. Craigw

    Craigw Peon

    Messages:
    50
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #11
    thanks jeremy :)
     
    Craigw, Jan 17, 2009 IP