Sign in to follow this  
phil67rpg

c# project

Recommended Posts

I presume the book is presenting you with project ideas.  Typically those would be based around similar capabilities as where the chapter left off.  That would be the best place to start.

 

Otherwise, a good text based system might be working with various components of string, such as .SubString, .Trim, .IsNullOrEmpty, etc...

 - Try using IndexOf and Substring to extract a word out of sentance.  Try getting the first word, or the second or the last.

 - Try capitalizing the first letter of each word in a sentance.  If a word begins with "Mc" also capitalize the third letter.

 

If you have worked with if statements, try checking multiple conditions, ask the user for a name.

 - if they don't give it, complain to them.  

 

I would recommend being more explicit in what skills you want to apply.  working with strings alone is only a small portion.  

 

The best thing to do, is to consider the what you do know now, think of a potential challenge that may be related to your skills.  Then try to figure out how to use your skills to solve the problem.  If you come up with one way, try it.  Then think of another possible solution to the same  problem.  Most challenges have multiple solutions, and learning them will give you good insight as to how to be flexible.  Try to think about why one solution might be better than another, and if there would be conditions where the lesser option would become the better option.

Share this post


Link to post
Share on other sites

[quote name='phil67rpg' timestamp='1356924247' post='5015946']
a simple project to go along with the text
[/quote]

 

Hah, I misread that, as to go along with 'text' as in strings.  However, the same general question of what skills or area are your trying to come up with a project idea still applies.

Share this post


Link to post
Share on other sites

If I were to learn C# then I would first make a text output program. Then input my name. Then I would create a class called hero, and then I would write the program again but instead of storing my name in a variable I would store it in the class named hero. I would then add some numbers to the class like hp and damage. I would make an object with lower hp and damage next. Then I would program a way in for me to fight the other hero. All in text using console. Maybe then I would start using XNA.

Edited by black_darkness

Share this post


Link to post
Share on other sites

I actually learned C# by uing SFML to make a simple game , although I had previous experienc in RUBY,Python , so I had some background.

 

Find a project that you want to do, need, find fun. Thats the way to keep you motivated, then learn  by yourself when you are stuck, thats my best advice to you :)

Share this post


Link to post
Share on other sites

Are you talking about a little game project to utilize your new skills? Someone recently posted this, which might be just what you're looking for. It's for C++, but most of it translates to C# (I don't think it's an actual tutorial, just a series of suggested projects).

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this