To learn C# by yourself, you must know how to make good use of MSDN

Many beginners learn programming by watching tutorials written by others or recorded videos.

This is a very good way, because this is very efficient.

But in this way, there are two problems:

1. The tutorial is not comprehensive enough : No matter how good the tutorial is, it cannot cover all the knowledge points, and it is more about explaining some of the essence;

2. Unable to master the learning method : Many tutorials teach you how to use it, but they don't teach you how to learn or how to master the self-study method.

In response to the above problems, I first recommend that everyone should know how to make good use of MSDN.

1. Complete information

There are a lot of C# programming materials on the Internet, but the most comprehensive one is MSDN.

Here you can learn:

1. Learn the basic grammar of C#;

2. Learn the basics of programming, such as process-oriented, exception handling, programming specifications and other programming guidelines;

3. Learn the basic knowledge of .Net, such as class library SDK, CLI, etc.;

4. Learning application development: Web, desktop software, mobile development, Iot, etc.;

5. Use of development tools;

6. Wait.

picture

Overall, MSDN documentation is very comprehensive, but for beginners, it may not be very friendly.

Because the documentation is very comprehensive, beginners themselves have a relatively weak foundation, and it is difficult to learn all of them at once.

Therefore, beginners can find some basic tutorials through the Internet at the beginning, because these tutorials are extracted by the author, and they are some commonly used knowledge, which can reduce the learning pressure of beginners.

However, to comprehensively study or further improve, MSDN is still required, because any other tutorial is not comprehensive enough.

picture

Therefore, MSDN can be used as a reference book. When you want to learn a certain knowledge systematically and comprehensively, you can learn it through MSDN.

For example, if you want to learn the definitions of various attributes and methods of a certain SDK class, you can search it on MSDN, and MSDN has corresponding code examples and instructions.

picture

2. Master the self-study method

Before the introduction, let's look at the following example, which is the entry code of an Asp.Net Core Web project and start: UseAuthorization middleware.

var builder = WebApplication.CreateBuilder(args);
builder.Services.AddControllers();
var app = builder.Build();
app.UseAuthorization();
app.MapControllers();
app.Run();

Through the above examples, people who love to think may have 2 questions:

1. What middleware does Asp.Net Core provide?

2. How to use the specific middleware, for example, if you want to achieve cross-domain, how to achieve it?

To solve the above problems, many people use search engines to solve the problems for the first time, and this method is fine, but I think it is very necessary to learn to use MSDN , which is also a supplementary method.

picture

The MSDN documents are very detailed, and clearly tell you which middleware is supported, as shown in the red screenshot above, which are commonly used by us.

And each function has a detailed explanation.

picture

3. Finally

In general, MSDN has the most complete information; only by knowing how to use MSDN documents can we learn independently without completely relying on others.

Online tutorials can make us go faster, and making good use of MSDN can make us go deeper!

For more open source projects, please check: A list focusing on recommending .Net open source projects

- End -

recommended reading

An audio player with simple and beautiful interface developed by WPF

An open source inventory order management system based on .Net Core

A WinForm open source UI component framework supporting .Net 7

Based on .NetCore+React single sign-on system

Recommend a .Net distributed microservice development framework

Guess you like

Origin blog.csdn.net/daremeself/article/details/130439342