Jump to content

Need Help finding Beginners guide/tutorial

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
8 replies to this topic

#1
RobertQQ

RobertQQ

    Newbie

  • Members
  • Pip
  • 7 posts
Hi all!! I just downloaded ms visual c# 2008 express edition and am going to attempt to learn c#. I was wondering tho', does anyone know of a good beginners guide/tutorial or a site I can go to to learn this? I really appreciate your help! Thanks!!

#2
Xav

Xav

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 13,118 posts
Try Google. Or get a book.
Jordan said:

Good members, like yourself, stick around and post for ages to come!
Mr. Xav | Blog | Forums

#3
Siten0308

Siten0308

    Programming Professional

  • Members
  • PipPipPipPipPip
  • 302 posts
I am learning from this website right now to learn C# with visual studios 2008, it is great but it is lacking some stuff but atleast it gives you a great start including examples in the videos however still needs more examples and more information on C# itself, but hey overall 9 out of 10.

Tier 2

#4
Pancrazio

Pancrazio

    Newbie

  • Members
  • PipPip
  • 17 posts
There are some reasonable tutorials presented by visual studio itself, but I think it is best to make challenges for yourself and search the web for help to overcome it.
Example for a challenge:

Console christmas tree
You ask the user of the program how long of a christmastree he wants in his console and with the input you display a chrismastree of that length. For example:
Input:
5
output (o's aren't visible):
oooox
oooxx
ooxxxx
oxxxxxx
xxxxxxxx

Tip: To overcome this problem you need to learn to read input, to use variables, to write in console, about loops and learn to think in algorithms.
When you get better you can set up more difficult challenges for yourself. Currently I'm making an operating system with more commercial succes than Windows :P
At some point those challenges might become programs with practical use.

#5
Xav

Xav

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 13,118 posts
The Christmas Tree idea is good. At the end of my C# tutorials, I always try to include a program idea to test yourself with, such as a prime number generator.
Jordan said:

Good members, like yourself, stick around and post for ages to come!
Mr. Xav | Blog | Forums

#6
RobertQQ

RobertQQ

    Newbie

  • Members
  • Pip
  • 7 posts
thanks all. I really like the christmas tree program. It is probably going to take me a while to figure out but I cant wait to get started on it :) thanks again!!

#7
RobertQQ

RobertQQ

    Newbie

  • Members
  • Pip
  • 7 posts
One last quick question :) . Do you all know of a site that has a whole bunch of problems like that for beginners? I tried googling it but couldnt find anything. Thanks again!!

#8
Pancrazio

Pancrazio

    Newbie

  • Members
  • PipPip
  • 17 posts

RobertQQ said:

One last quick question :) . Do you all know of a site that has a whole bunch of problems like that for beginners? I tried googling it but couldnt find anything. Thanks again!!
Some books on programming contain exercises So maybe you can download a beginners guide for C# and get some exercises out of that.
There must be websites with exercises too, but I don't know any.
I can also give you some if you want.
From easy to more difficult, all for console applications:
The first 5 are for some insight in loop structures and algorithms, if you already did the christmas tree with success, skip the first 4.

1. create a number of x's depending on the input of the user in line
input:
5
output:
xxxxx

2. same for 'square'
input:
3
output:
xxx
xxx
xxx

3. triangle
input:
4
output:
x
xx
xxx
xxxx

4. Christmas tree

5. Rhombus
input:
5
output:
oox
oxxx
xxxxx
oxxx
oox

You have to look out first this one, because you will have to validate the input here, the program will not work for some input.

6. Coin flipper: Create a program that generates random x's and o's.
input:
10
example output:
oxoxxxooxo

7. Xav's program: create a program that will return all prime numbers till a certain number.
input:
10
output:
2 3 5 7

8. Create a program that will copy the contents of a txt file containing code with comments leaving the comments out:
input file contains:
Hello // this is a word
Hello, I'm Steeve. /* This is a sentence */
output file contains:
Hello
Hello I'm Steeve.

Tip: in a windows txt file you need "\r\n" to display a new line, not just "\n".

Note: these exercises learn you nothing but loops and basic functions and some algorithmic thinking. If you're able to do this you should begin to learn about classes etc.

#9
PlayaSkater

PlayaSkater

    Learning Programmer

  • Members
  • PipPipPip
  • 62 posts
I'm also in the process of learning C#. Like everybody has said, always make up your own examples, it not only helps with your programming skills, but also creativity. You could go through C# Station: C# Tutorial - Introduction. It has examples in all of the subjects that it covers.

Also going through threads like the ones here at codecall and others like c-sharpcorner.com are good for picking up new information since most of the time people will ask for help in creating a program or fixing a couple lines of code.

Hope this helps.