Learning C# - where to start

oynaz

Platinum Member
May 14, 2003
2,448
2
81
Hi guys,

My job has asked me to develope some tools in C#. They are willing to pay for needed resources (books, etc).

I have dabbled in programming before (JAva, Basic, PowerShell scripts), but no C#.

A Google search yields lots of results, a bit overwhelming, to be honest.

Where and how would you start?

This M$ site seems like a good place to start, but I would like your opinion and advice

http://www.microsoftvirtualacademy.com/training-courses/c-fundamentals-for-absolute-beginners
 

cabri

Diamond Member
Nov 3, 2012
3,616
1
81
I had a background in C++ programming.
a few years ago, I took a couple of evening semester courses in C# at a local community college in to formally beef up my knowledge of it.
Able to apply that knowledge for projects on next two jobs with minimal effort. Needed to develop some tools and it worked.

One can learn from a book, but for myself, I have found it always better to be in a class.

Link is the book that was used (4th Edition though)
 
Last edited:

KB

Diamond Member
Nov 8, 1999
5,401
386
126
The virtual academy website looks great. I wish it existed when I first started .Net.
I think once you get through it, you will be ready to develop some basic tools. At that point its just experience you need and the only way to get that is to start developing some tools.

Its hard to give specific recommendations because C# is a language, but it can also be used interchanegably with .Net, which is a generic term for a huge number of Microsoft .Net technologies including WCF, ASP.net, MVC, LINQ, ADO.Net. If you gave us some idea of what the tools will do (i.e access a database) we might be able to give you more specific recommendations.
 

oynaz

Platinum Member
May 14, 2003
2,448
2
81
Thanks for the replies. Classes would be optimal, but is not an option right now.

The tool parses a number of log files in custom .txt format in order to pinpoint errors and present the technician with an overview.
There is an old version which uses regex to parse the files, but it has a number of issues.

I have some experience with .net. I use it for forms in PowerShell scripts, though that can be rather quirky.
 

KB

Diamond Member
Nov 8, 1999
5,401
386
126
Thanks for the replies. Classes would be optimal, but is not an option right now.

The tool parses a number of log files in custom .txt format in order to pinpoint errors and present the technician with an overview.
There is an old version which uses regex to parse the files, but it has a number of issues.

I have some experience with .net. I use it for forms in PowerShell scripts, though that can be rather quirky.

That seems pretty simple. Reading a whole book or taking a whole class is great but if you only need small parts of it, all of the extra stuff you learn will be fogotten.
After doing the Virtual Academy just start searching task by task for your project

1. How to read text files in C#
http://msdn.microsoft.com/en-us/library/db5x7c0d(v=vs.110).aspx

2. How to display data in C#
http://msdn.microsoft.com/en-us/library/bb655891(v=vs.90).aspx
 

Train

Lifer
Jun 22, 2000
13,863
68
91
www.bing.com
Do you know what platform you will be building these tools?

If you just want to learn C#, I'd start with console programming. That way you can focus on the language itself with minimal interaction with a framework.

If you start with ASP.Net/MVC or Winforms/WPF, you can get lost in all the conventions and libraries of the specific platform.

EDIT: just saw your last post. Ya def go with a Console App.
 

Graze

Senior member
Nov 27, 2012
468
1
0
If you program in Java then making the jump to C# should not be too difficult. Read through a text book cover to cover within a month since I was not working.

once you are familiar with OOP C++ programming you will pick up the language quickly(C# tend to really push OOP onto you).
I picked up enough of the language within a month and got my first ever programming pay cheque writing a webscaper and a program to update an MSSQL database from .SQL files based on the meta data within it.
 
Last edited:

dank69

Lifer
Oct 6, 2009
35,602
29,319
136
I thought C# Step by Step from MS Publishing was really good but that was back in 2008. Not sure if latest edition is as good.
 

Leros

Lifer
Jul 11, 2004
21,867
7
81
If you can learn without classes, I highly recommend it as classes are typically paced pretty slow. Not everybody can learn independently though.
 

alkemyst

No Lifer
Feb 13, 2001
83,967
19
81
If you're serious about it, get C# 5.0 in a Nutshell: The Definitive Reference

Good book.

The trick OP is to read and then do the practice coding and then figure out something you want to program and take it down.

That's where I have found you really start learning.
 

oynaz

Platinum Member
May 14, 2003
2,448
2
81
Hi guys,

Thanks for all the replies. I will start with the Microsoft articles, probably buy C# 5.0 in a nutshell, and start coding.
 

Daxwax

Member
Oct 7, 2011
35
0
0
I learned C# using john skeet - C# in depth.
This book skips some of the basics, but covers more advanced features better.
Along with some internet references, it provided me with an in-depth introduction (I knew C++ before starting though).
 

KWiklund

Member
Oct 30, 2013
35
0
16
Depends on your level of confidence with programming. I picked it up from Andrew Troelsen's "Pro C# and .NET Framework", which I found to be pretty good. It's comprehensive enough to be useful as a reference for the many of more obscure bits when I need them.
 

oynaz

Platinum Member
May 14, 2003
2,448
2
81
I finished the C# Fundamentals for Absolute Beginners course, and it is rather good. The instructor does a very good job of explaining the concepts, though he goes a bit too fast through the actual syntax at times.

Still, I liked the course, and the instructor does a number of shameless plugs for his website www.learnvisualstudio.net
There is a lifetime membership for sale for $120, something I can probably get my boss to pay for. Is it worth it? Does one of you guys have any experience with this site?

Also, I am beginning the design of my first simple application. I need a GUI - should I learn WPF or WinForms?
 
sale-70-410-exam    | Exam-200-125-pdf    | we-sale-70-410-exam    | hot-sale-70-410-exam    | Latest-exam-700-603-Dumps    | Dumps-98-363-exams-date    | Certs-200-125-date    | Dumps-300-075-exams-date    | hot-sale-book-C8010-726-book    | Hot-Sale-200-310-Exam    | Exam-Description-200-310-dumps?    | hot-sale-book-200-125-book    | Latest-Updated-300-209-Exam    | Dumps-210-260-exams-date    | Download-200-125-Exam-PDF    | Exam-Description-300-101-dumps    | Certs-300-101-date    | Hot-Sale-300-075-Exam    | Latest-exam-200-125-Dumps    | Exam-Description-200-125-dumps    | Latest-Updated-300-075-Exam    | hot-sale-book-210-260-book    | Dumps-200-901-exams-date    | Certs-200-901-date    | Latest-exam-1Z0-062-Dumps    | Hot-Sale-1Z0-062-Exam    | Certs-CSSLP-date    | 100%-Pass-70-383-Exams    | Latest-JN0-360-real-exam-questions    | 100%-Pass-4A0-100-Real-Exam-Questions    | Dumps-300-135-exams-date    | Passed-200-105-Tech-Exams    | Latest-Updated-200-310-Exam    | Download-300-070-Exam-PDF    | Hot-Sale-JN0-360-Exam    | 100%-Pass-JN0-360-Exams    | 100%-Pass-JN0-360-Real-Exam-Questions    | Dumps-JN0-360-exams-date    | Exam-Description-1Z0-876-dumps    | Latest-exam-1Z0-876-Dumps    | Dumps-HPE0-Y53-exams-date    | 2017-Latest-HPE0-Y53-Exam    | 100%-Pass-HPE0-Y53-Real-Exam-Questions    | Pass-4A0-100-Exam    | Latest-4A0-100-Questions    | Dumps-98-365-exams-date    | 2017-Latest-98-365-Exam    | 100%-Pass-VCS-254-Exams    | 2017-Latest-VCS-273-Exam    | Dumps-200-355-exams-date    | 2017-Latest-300-320-Exam    | Pass-300-101-Exam    | 100%-Pass-300-115-Exams    |
http://www.portvapes.co.uk/    | http://www.portvapes.co.uk/    |