Click here to Skip to main content
15,888,521 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello all, I was being challenged at work with different projects and wanted to start making .NET applications.. So I started learning C#. I am a newbie to programming, and like with any languages, if you don't practice it, you lose it. So, I like to start practicing my so-far learned C# skills.

Is there any textbooks or any website (i am even ready to pay) that can give me beginner - intermediate - expert level C# exercises/projects that I can work on, so that I can improve my skills? By the way, I only know the basic barebones of C#. I don't know much of .NET either..

I do not code at work. I am a Systems Engineer by profession, and lately after using PowerShell, I have been drawn to .NET, Databases, ASP.NET applications.

Any suggestions for this noob, very much appreciated.

Thank you.
C#Noob
Posted
Updated 23-Mar-18 23:17pm
v2
Comments
Arpit Kumar Dubey 20-Nov-14 9:40am    
must refer Solution 1

1.You should start with MSDN C# Tutorial[^]

2.You could find here [^]all examples used in the tutorial above.

3.For web application you use the next site as starting point: http://www.asp.net/get-started[^]

4.For ASP.NET MVC application you could use: http://www.asp.net/mvc[^] and especially the free tutorial video from Plurasight.

Good luck!
 
Share this answer
 
Comments
BillWoodruff 20-Nov-14 6:26am    
+5
Raul Iloc 20-Nov-14 7:20am    
Thank you for your vote!
Ravi Bhavnani 20-Nov-14 16:12pm    
+5
Raul Iloc 21-Nov-14 4:11am    
Thank you for your vote!
In addition to the valuable links Raul and Deepu posted here, I'd like to recommend you get a good introductory book on C#: I particularly recommend writers Jesse Liberty, and Matthew MacDonald; even though some of their entry-level books are a few years old, they are excellent teachers, as well as writers.

There's a good book (free download on-line, .pdf) "Dot Net Zero" by Charles Petzold: [^].

Here are some brief descriptions of the type of problems I assign to students who have a technical background, and some exposure to other programming languages, but are new to C# and .NET. I encourage students to use Windows Forms, rather than the Console.

0. Get an account (free) on Project Euler [^], and create C# solutions for at least ten of the math problems.

1. (the inevitable) write a mathematical calculator that includes functions like sin,cos,tan,atan, square-root, to-the-power-of.

2. Create an Application with a TreeView that lets the end-user enter the Text for a new Node, and that will then create a new Node as ... the user's choice of ... either a Parent, Child, higher-level sibling, or lower-level sibling of the selected Node in the TreeView.

3. Based on a List<string> that holds a number of Categories, and a List<List<string>> that holds a number of Items: create a user-interface where the Categories are in one ComboBox, and a second ComboBox has its contents determined by which Item in the first ComboBox is selected: the Index of the first ComboBox's selected Item is used to select the List from the List<List<string>>

4. Using a TextBox and a StatusBar: open a Text File and display the Text in the TextBox. Based on the user's choices from menus: display information about the Text: length, number of spaces, total number of all white-space elements, total number of digits, total number of uppercase/lowercase characters, number of paragraphs (double line-feeds). Present the current status of selected Text in the TextBox at all times, showing the selection length, selection start, selection end, and total characters in the selections in a Status Bar in the Form.

5. Using a TreeView: copy the Xml file here: [^], save it to a file, and in your program: open the file, read it into an appropriate Class structure and then create the TreeView Nodes that reflect the Xml file's structure.

This is one of my favorite assignments for students who have mastered the basics of C#:
C#
"Create a user-interface that expedites the calculation of airplane ticket costs based on total number of passengers booking as group or family, age (child, adult, senior), date of departure (off-season, holiday, regular), date of arrival (off-season, holiday, regular), frequent-flyer membership (basic, premium, platinum), booking date, total number of passengers, domestic versus international travel, type of payment (cash, wire transfer, credit-card). All data-entry Controls must prevent entering any non-meaningful character given the context, and must perform validation.

All internal logic processing is to be performed using Enumerations (enum) and switch statements ... unless ... you present a compelling reason not to use this strategy."
That's just a few: of course, I try and "tailor" problems posed to the student's background and current interests: what the person may be enthusiastic about learning is is important ! :)
 
Share this answer
 
v2
Comments
Raul Iloc 20-Nov-14 7:21am    
You have my 5+ !
Ravi Bhavnani 20-Nov-14 16:13pm    
+5
you guys are awesome! I thank you very much!

At what point of my learning career should I move on to ASP.NET? And should I learn ASP.NET WebForms or MVC?
 
Share this answer
 
Hi
I want to know how to display a calender in C#,MVC. and it should display only current month, and next month. old dates should be deactivated. and also I want to access the selected date in to the textbox.

I want to know also about the multiselection in the calender, and display those days only in text box, and those days should be seperated by commas.

early reply will be helpful.

my email id is sunitark5@gmail.com

thanks in advance.

with regards
sunitha
 
Share this answer
 
Comments
CHill60 24-Mar-18 12:43pm    
If you have a question then use the red "Ask a question" link at the top of the page. Do not post questions or comments as solutions. Do not put your email out on an open forum...unless you like spam

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900