Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

C#- Console Program Ideas for Noob [closed]

Tags:

c#

So, Im a beginning C# programmer. I know basic syntax and simple things like if statements and loops(methods and classes too). I've only used console apps right now havent bothered with windows forms yet.

So any simple app ideas that introduce new things important for C# programming.

Also, NO tutorials. I want to make all by myself.

like image 788
user377419 Avatar asked May 26 '10 23:05

user377419


3 Answers

I'm a big fan of Halo, and one of the first things I did with C# was write an application that downloaded and parsed my online gaming stats while playing Halo 2. From there, I loaded all of the information into a database and redisplayed it in ASP.NET. In retrospect, the code was horrendous, but it was a fun exercise.

Another exercise was to parse the XML file for my iTunes music library, load it into a database, and (of course) display bits of it in ASP.NET.

Anyway, find ways to work with things you enjoy, be it games, music, television, or whatever.

like image 55
Anthony Pegram Avatar answered Oct 19 '22 11:10

Anthony Pegram


A simple game might be a good start but those code golf questions can be a bit more advanced.

Why not try to write a 'test your reflexes' game, where you output a letter and time how long it takes for that letter to be keyed in? Then display the response time taken and the best response time to date.

like image 35
amelvin Avatar answered Oct 19 '22 13:10

amelvin


Once i had to learn bash scripting for linux by writing the hangman game, it should be a good example for a console app in c#.

Hint:

start with

while(true)
{
//Game code goes here, use "continue" or "break" according to game logic.
}
like image 40
Bablo Avatar answered Oct 19 '22 12:10

Bablo