|
||||||
| C# Programming C# (pronounced C-sharp) is a new object oriented language from Microsoft and is derived from C and C++. It also borrows a lot of concepts from Java too including garbage collection. |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|||
|
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!!
|
| Sponsored Links |
|
|
|
|||||
|
Try Google. Or get a book.
|
|
|||
|
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 |
|
|||
|
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 ![]() At some point those challenges might become programs with practical use. |
| Sponsored Links |
|
|
|
|||
|
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!! |
|
|||
|
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!! |
|
|||
|
Quote:
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 cl***es etc. |
|
|||||
|
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. |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| beginners C# project | matty241 | C# Programming | 44 | 05-31-2008 11:29 AM |
| Finding t.A.T.u. (Movie Details for those interested.) | kinn | The Lounge | 9 | 05-25-2008 02:15 PM |
| Forums for photoshop design and designers .. also for beginners? | navjeet | Computer Software/OS | 0 | 08-21-2007 12:29 AM |
| A site for beginners in the Technology Field | littlefranciscan | Technology Ramble | 2 | 01-16-2007 07:52 AM |
| Finding Date | NeedHelp | C# Programming | 3 | 12-08-2006 04:37 PM |
| Xav | ........ | 1322.18 |
| MeTh0Dz|Reb0rn | ........ | 1053.7 |
| morefood2001 | ........ | 879.43 |
| John | ........ | 877.37 |
| marwex89 | ........ | 869.98 |
| WingedPanther | ........ | 830.24 |
| Brandon W | ........ | 735.07 |
| chili5 | ........ | 309.39 |
| Steve.L | ........ | 236.23 |
| dcs | ........ | 216.02 |
Goal: 100,000 Posts
Complete: 82%