From studying a few different C# books I'm starting to get familiar with some basic programming concepts and the C# syntax. I feel at this stage I would make the most amount of progress if there were a sort of beginner project I could attempt.
Anyone have any ideas of a good project that would be suitable for someone who has only been learning for 5-6 weeks
Thanks
Matty ( I tried to look on google but it seems to only come up with beginners' tutorials)
beginners C# project
Started by matty241, May 06 2008 07:57 AM
44 replies to this topic
#1
Posted 06 May 2008 - 07:57 AM
|
|
|
#2
Posted 06 May 2008 - 10:53 AM
Tic-Tac-Toe is a pretty standard first semester project for c#. A simple calculator is a good one to familiarize yourself with some math functions. You can do a simple password and user login for learning to make web applications. None of these require really tough programming although the Tic-Tac-Toe is probably the easiest. Some people think you should start with all console app's...don't really have any good ones of those for ya.
#3
Posted 06 May 2008 - 12:40 PM
#4
Guest_Jordan_*
Posted 06 May 2008 - 02:02 PM
Guest_Jordan_*
Telnet or FTP client is a good way to learn the basics of networking using C#.
#5
Posted 07 May 2008 - 12:32 AM
#6
Guest_Jordan_*
Posted 07 May 2008 - 03:08 PM
Guest_Jordan_*
I suppose it is but it is good to learn how to use it in any programming language. An FTP client is simple network concepts and provides real world knowledge.
Connecting to a database is something you will likely use in the future and especially in the workplace.
Connecting to a database is something you will likely use in the future and especially in the workplace.
#7
Posted 08 May 2008 - 11:29 AM
I agree - storing data it one of the most useful tasks a program can have.
However, I usually prefer to store the data in XML Files, as they are a cross between a database and text file. Take a look at the System.Xml namespace for details.
However, I usually prefer to store the data in XML Files, as they are a cross between a database and text file. Take a look at the System.Xml namespace for details.
#8
Guest_Jordan_*
Posted 08 May 2008 - 05:36 PM
Guest_Jordan_*
I disagree. An XML file is nothing more than a flat file or text file that uses a parser. Using an actual database with SQL commands can't come from reading an XML file. IMO every programmer should learn SQL before they begin their career.
#9
Posted 08 May 2008 - 07:26 PM
Sql queries are indeed a very good programming skill. They can be very complicated and some programmers make a living just writing custom data adapters. However the premise is very simple and standard queries can be understood by most levels of programmers. Like Jordan said its a must for career oriented programmers.
Edited by gaylo565, 08 May 2008 - 07:30 PM.
#10
Posted 09 May 2008 - 07:47 AM
Yes, but with .NET you have been provided with many useful classes and objects that can achieve almost exactly the same thing as with SQL. I've never actually experienced a situation in which I couldn't do something in XML that a SQL database couldn't.
#11
Guest_Jordan_*
Posted 09 May 2008 - 03:53 PM
Guest_Jordan_*
Don't get me wrong, XML is great but try storing 1,000,000 rows of data in an XML file and see how fast you can retrieve row 596,102.
#12
Posted 10 May 2008 - 06:17 AM
Easy peasy in C#:
[I]assuming 'doc' is the System.Xml. XmlDocument containing the XML data.[/I] XmlNode row = doc.ChildNodes[596102 - 1];See? XML docs can be referenced as arrays, objects, the lot. The node 'row' now contains the properties Attributes, ChildNodes and InnerText. Easy, eh?


Sign In
Create Account

Back to top









