Government Security
Network Security Resources

Jump to content

Photo

Beginner In Need Of Some Guidance, C#

- - - - - windows linux beginner programming c++ c# tutorial
  • Please log in to reply
7 replies to this topic

#1 kill4killin

kill4killin

    Private

  • Members
  • 1 posts

Posted 25 January 2008 - 10:33 AM

Hello everyone, I'm new to the site. I'm currently in college as a computer science major and will be starting my programming courses, hopefully, in the fall. I thought I might get a head start on the curriculum and brush up on my programming before I started my classes and was thinking of starting with either C#. From what I have heard, C# is similar to VB, which I learned back in middle school, but didn't use much afterwards so I have forgotten most of it. I have also attempted, a few times, to dabble in C++, but each time I had some problems with libraries and compiling in windows. I have been using linux for several years out of my own curiousity and from that I learned the ins and outs of compiling programs using gcc, but for some reason my compilers in Windows never seem to work. However, I recently got a hold of a copy of Visual Studio 2003 Professional through my school's MSDNAA program and thought that I might start by seeing if maybe it works better for me then other compilers I have tried in the past.

I'm looking for some guidance as to where to learn C# on the internet. I found some from searching through google, but I'm not sure which ones are any good and which ones I should avoid. Any suggestions that could be provided for good, online, tutorials would be greately appreciated.

Thank you.

#2 tention

tention

    Private

  • Members
  • 1 posts

Posted 13 April 2008 - 12:48 PM

You can try your luck here:

Visual Studio's Express-Page
Window's Client dot net
The Code Project



#3 Sleepy

Sleepy

    Private First Class

  • Members
  • 80 posts

Posted 13 April 2008 - 07:21 PM

http://msdn2.microso...r/bb308891.aspx

Video Lessons (Beginning Developer Learning Center)

* Introduction to Visual C# 2008 Express Edition (37 minutes)
* Introduction to the C# programming language (23 minutes)
* ABS Lesson 1: Getting started (24 minutes - covers some of the same material as the VS 2008 intro but provides an introduction to the RSS Reader project.)
* ABS Lesson 2: Creating a Windows application user interface (43 minutes)
* ABS Lesson 3: Writing code to handle events and set properties (24 minutes)
* ABS Lesson 4: Working with variables, expressions, statements and operators (30 minutes)
* ABS Lesson 5: Branching, Iteration, Arrays and Recursion (27 minutes)
* ABS Lesson 6: Object-Oriented Programming (71 minutes)
* ABS Lesson 7: Getting to know the .NET Framework (36 minutes)
* ABS Lesson 11: Handling Exceptions (32 minutes)

#4 aseeon

aseeon

    Private

  • Members
  • 1 posts

Posted 03 May 2008 - 02:34 PM

http://msdn.microsof...p/bb798022.aspx

Lesson 1: How to Add Audio Part 1
(6 minutes, 28 seconds)
Lesson 2: How to add Audio Part 2
(5 minutes, 3 seconds)
Lesson 3: Customizing the Button Control
(9 minutes, 4 seconds)
Lesson 4: How to use the Dialog Controls
(12 minutes, 24 seconds)
Lesson 5: How to use the FlowLayout Panel
(6 minutes, 23 seconds)
Lesson 6: How to create a System Tray application using the NotifyIcon control
(6 minutes, 45 seconds)
Lesson 7: How to call other applications using the Process control
(7 minutes, 34 seconds)
Lesson 8: How to use the SplitContainer control
(5 minutes, 34 seconds)
Lesson 9: How to use the TableLayout control
(11 minutes, 26 seconds)
Lesson 10: How to use the Timer control
(6 minutes, 38 seconds)
Lesson 11: How to use the BackgroundWorker control
(9 minutes, 3 seconds)
Lesson 12: How to use the ListView control Part 1
(16 minutes, 42 seconds)
Lesson 13: How to use the ListView control Part 2
(17 minutes, 14 seconds)
Lesson 14: How to use the MenuStrip control
(11 minutes)
Lesson 15: How to use the PictureBox control
(9 minutes, 57 seconds)
Lesson 16: How to use the RichTextBox control
(9 minutes, 43 seconds)
Lesson 17: How to use the Status Strip control
(14 minutes, 54 seconds)
Lesson 18: How to use the Tab control
(8 minutes, 36 seconds)
Lesson 19: How to use the ToolStrip control
(7 minutes, 19 seconds)
Lesson 20: How to use the TreeView control
(17 minutes, 50 seconds)
Lesson 21: How to use the WebBrowser control
(13 minutes, 32 seconds)

#5 chrisasmo

chrisasmo

    Private First Class

  • Members
  • 22 posts

Posted 25 May 2008 - 07:35 PM

Well, in my personal opinion the best way to learn a new programming language is by looking at its source code and then copy/paste
each line of the code on Google trying to find what it does.

For example, say you want to learn C#...when you open some C# you might notice the very first line ''using system'', then copy/paste
into google this statement and then go to some website explaining what it does. This applies to the entire source code...
I remember even, Bill Gates in some interview was asked if the best way to study programming is by attending classes in the university and
Bill response was something like: ''No, the best way to learn programming is by looking at source code and learning it''-(not exact quote but
this was exactly the meaning of his thoughts...).

However if you need websites to start from...just to get the picture:

http://java2s.com
http://planet-source-code.com 
http://msdn.com

If you need recommendation for a really nice C# code examples...then see: NASA world wind.
Though this is for advanced users (funny though...at one place in the NASA world wind source code...you will find the following comment
(similar...): "you can't use this function, wtf???"- funny that NASA programmers use words such as ''what the (filtered)'' :))).
After all thuogh, the software is not being written by NASA engineers but some teachers in some college(which actually makes the picture even funnier :))).


So, as for the C++ issues: Try cigwin...
Try MS visual studio 6 + MSDN installed and all other components installed.

Those two apps should fix all your C++ problems(cygwin + ms visual studio 6(fully installed).


Good luck though...

#6 bcook8033

bcook8033

    Private

  • Members
  • 3 posts

Posted 12 June 2008 - 07:38 PM

If I were you I'd install Visual C# 2008 Express Edition and get started with it instead of Visual Studio 2003. The Visual Studio Express Editions are free and have enough of the full functionality that it should work fine for you. I agree that a great way to learn is to look at example code. It seems easier for me to learn if I'm trying to accomplish a real problem. I'll start trying to write the code to solve a problem and googling as I go for code examples. Microsoft has some starter kits you could use as examples http://msdn.microsof...p/aa336742.aspx and some good "How Do I" video tutorials http://msdn.microsof...t.slv=RightRail.

Software Engineer
CoNetrix - Information Security Audits

#7 saviolan

saviolan

    Private

  • Members
  • 3 posts

Posted 07 April 2009 - 07:32 PM

hi,

you can find some step by step C# tutoril from the following site :

http://csharp.net-informations.com

thnaks,
sav.

#8 linuxwolf

linuxwolf

    Corporal

  • Members
  • 173 posts

Posted 17 November 2009 - 04:22 PM

Aswell as looking at source, I'd advise setting out with a goal. Start by thinking, i'm going to design an application that does X, it has to be fairly simple, obviously, but you'll end up spending most of your time googling for how to do this, how to do that, and learning. An example first application may be something like a form that shows the time, and then uses methods to display times from different timezones using an inbuilt event, like a click (Assuming you're using a VC# editor, express or otherwise).

Another point that people neglect is that C# is an object oriented language. People will say "yes yes i know", use some predefined objects and the continue to program procedurally! If you wish to program with an object orientation, an excellent article is: http://www.aonaware.com/OOP1.htm





Also tagged with one or more of these keywords: windows, linux, beginner, programming, c++, c#, tutorial