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

C# codes for purpose of learning

Discussion in 'C, C++, C#' started by milooot, Feb 10, 2013.

  1. milooot

    milooot Junior Member

    Joined:
    Jan 4, 2012
    Messages:
    164
    Likes Received:
    34
    anyone can provide a piece of code for purpose of learning , would help a lot beginner coders like me :)
     
  2. Asif WILSON Khan

    Asif WILSON Khan Executive VIP Premium Member

    Joined:
    Nov 10, 2012
    Messages:
    10,112
    Likes Received:
    28,546
    Gender:
    Male
    Occupation:
    Fun Lovin' Criminal
    Location:
    London
    Home Page:
    google is your best friend for something like that, plenty of tutorials and code samples
     
  3. innozemec

    innozemec Jr. VIP Jr. VIP

    Joined:
    Aug 19, 2011
    Messages:
    5,288
    Likes Received:
    1,799
    Location:
    www.Indexification.com
    Home Page:
    you can find example codes online for almost anything you need to code.. So just think up a project, start coding and googling the piece of code you need to step up ahead..
     
  4. aymenbnr

    aymenbnr Jr. VIP Jr. VIP Premium Member

    Joined:
    Oct 14, 2009
    Messages:
    200
    Likes Received:
    75
    Home Page:
    try codeplex.com or codeproject.com
    plenty of code examples you can learn from !
     
  5. gaabrielz

    gaabrielz Registered Member

    Joined:
    Nov 17, 2008
    Messages:
    60
    Likes Received:
    35
    Occupation:
    Application Developer
    Location:
    Canada
    And everytime you are wondering sonethin or havin an issue take a look on stackoverflow.com
     
  6. milkyway

    milkyway Newbie

    Joined:
    Jul 18, 2013
    Messages:
    10
    Likes Received:
    1
    try to wrote something.. and when you will be not able to understand an error, etc.., ask google)
     
  7. neutralhatter

    neutralhatter Jr. VIP Jr. VIP Premium Member

    Joined:
    Jun 23, 2010
    Messages:
    430
    Likes Received:
    330
  8. saxgod

    saxgod Regular Member

    Joined:
    Sep 19, 2010
    Messages:
    351
    Likes Received:
    337
    If you want to program complex windows applications take a look at WPF + MVVM + PRISM + UNITY/MEF + ....
     
  9. neutralhatter

    neutralhatter Jr. VIP Jr. VIP Premium Member

    Joined:
    Jun 23, 2010
    Messages:
    430
    Likes Received:
    330
    i've been in development for over 10 years.

    If I can give you one advice it is this:

    Keep it simple
     
  10. theadultsplayground

    theadultsplayground BANNED BANNED

    Joined:
    Jan 24, 2008
    Messages:
    1,202
    Likes Received:
    336
    I'm going through this same process right now and MSDN along with the book "Head First C#" worked wonders for me ( I also purchased Illustrated C# 2012 but I did not find it a good read).
     
  11. neutralhatter

    neutralhatter Jr. VIP Jr. VIP Premium Member

    Joined:
    Jun 23, 2010
    Messages:
    430
    Likes Received:
    330
    Head first books are usually okey (especially for java), but for c# there are some better alternatives such as "Visual C# step by step" and "C# all in One for Dummies".
     
  12. Dolma

    Dolma Registered Member

    Joined:
    Aug 16, 2013
    Messages:
    51
    Likes Received:
    10
    Gender:
    Male
    Occupation:
    http://youronestop.net/
    Location:
    http://youronestop.net/
    Home Page:
    that is true
     
  13. kevinkrieger

    kevinkrieger Newbie

    Joined:
    Sep 5, 2013
    Messages:
    32
    Likes Received:
    3
    Occupation:
    SEO
    Location:
    India
    Home Page:
    I started learning C# from C# for beginners by David Bolton
     
  14. fido9dido

    fido9dido Newbie

    Joined:
    Nov 9, 2008
    Messages:
    2
    Likes Received:
    0
    google thenewboston he has some greate tutorials
     
  15. n0money

    n0money Newbie

    Joined:
    Dec 19, 2013
    Messages:
    20
    Likes Received:
    6
    Start with this:


    public void main()
    {
    printnum(0, x=>Console.writeln(x));
    }

    public void printnum(int n, Action<T> k)
    {
    k(n);
    }
     
  16. Javado

    Javado Junior Member

    Joined:
    Jun 26, 2012
    Messages:
    186
    Likes Received:
    78
    Occupation:
    Youtubes
    Location:
    Youtubes
    I hate this type of posts, if there is google for something like that lets close this forum and use google, he asked for someone who have tried them and finds them best to share.
     
  17. rootjazz

    rootjazz Jr. VIP Jr. VIP

    Joined:
    Dec 21, 2012
    Messages:
    614
    Likes Received:
    313
    Occupation:
    Developer
    Location:
    UK
    Home Page:

    For a beginner, why do you suggest to learn about lamdas, generics, the Action class etc?

    I would disagree totally that a beginner should even both with these, until they have a grasp of the basics. Plus it doesn't help, that the above is not usable code a programmer would ever write. If I was ever handed code like that, I would send it back.

    For academic learning purposes, then yes the above has it's place, but that isn't what OP was asking for IMO


    You can code perfectly well without any of the above, and before .net4.0 you could without Action and 3.0 (I believe) without lamdas etc)