Where to start with C #

I am a pretty experienced PHP programmer and mostly in web languages, but today I decided that I want to start learning a new language!

Im only 21, and I feel that I will never do this in the programming industry without a large set of languages โ€‹โ€‹under my belt. So I decided to look at C #.

The reason I chose C # is because some C programmers told me that C # is the best language for learning desktop applications.

I think I need to start with the C # syntax / structure, which development environment to use, and other things that I might encounter on my new journey.

I hope someone can help me Thanks.

+4
source share
7 answers

For the IDE, you can use Visual Studio Express . And here is a good set of textbooks.

Also check out the basic concepts of the .NET framework and the CLR .

As soon as you hang it, try LINQ . This is (possibly) the most remarkable feature of the structure. Find some good LINQ tutorials here and here.

Despite the fact that you explicitly mention desktop applications, .NET FW is equally suitable for 4GuysfromRolla web applications - my favorite ASP.NET resource.

For Dektop applications, you can start with WinForms , but WPF is the technology of the future. Therefore, you should study it if you want to develop desktop applications for Windows.

Happy learning!

+14
source

Things you will need to get started:

+3
source

The best way to find out is to solve the problem, and I mean to do something that you DO NOT know how to do, and not what you already have tools for. I will search the network for some problems with toys and try to create an application for her.

Eg. I just started moving around OOP as soon as I decided that I needed a poker probability calculator. So basically I had to read a bunch of things about VB 6 as I walked. Classes, properties, methods, syntax ... The Internet is great for these kinds of things.

I guess I mean Just Do IT ... (see what I did there? :) You hang things up, but learn more loads than any book can teach you.

+2
source

If you use Visual Studio for training, you can use MSDN, which is ideal for early learning.

0
source

I highly recommend Illustrated C # 2008 Daniel Solis. This is a book I used to learn how C # works (don't be fooled by the "Illustrated" in the title: it's not so much a "beginner's book" as it uses good illustrations to teach the language).

You might think of a Silverlight, Windows Presentation Foundation, or ASP.NET book if you want to apply what you learned in C # to the corresponding API. I would recommend any Matthew MacDonald book for the latter.

0
source

Learning the basics of Pascal, Java, C #, and even C is more or less the same ...

Start with the training material for any Introduction to Computer Science training course,
try to solve tasks in several languages โ€‹โ€‹(to learn C # at level C),
then go to material from any Object-Oriented Programming tutorial to learn the rest of the basics.

After that, it is just a matter of experience and searching for MSDN help.

0
source

Since you are already an experienced programmer learning C #, this is less an exercise in learning the .NET Framework. The syntax should be simple enough so you can quickly bend down just by looking through a few guides. The more difficult part will be to learn the extensive API available to you through the Framework.

I suggest finding a good book in C # (I had good experience with Microsoft Press, and I heard good things about Wrox and O'Reilly). Make sure he discusses classes, polymorphism (inheritance and interfaces), event-based programming, LINQ, and reflection.

I believe that you will also want to look at any books on the specifics of ADO.NET and WPF. The great thing about .NET is that when you learn the .NET Framework API, you can pretty much navigate between languages โ€‹โ€‹as needed.

0
source

Source: https://habr.com/ru/post/1311451/


All Articles