question

FurgelReid-7175 avatar image
1 Vote"
FurgelReid-7175 asked RaymondGilbers-8810 edited

The best way to learn C#

The best way to learn C#

dotnet-csharp
· 3
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

karenpayneoregon avatar image
2 Votes"
karenpayneoregon answered karenpayneoregon edited

Where many newcomers go wrong is taking on too much and not learning the basics. It can be frustrating to start with the basics but this gives you a solid foundation for moving forward.

Dependent on being your first programming language or not.

Start here and run through the documentation. Explore the courses listed here.

When learning to code, do not use windows forms or web application, instead learn the basics using either or unit test or console projects. Why unit test and/or console projects? Because this allows one to focus on one topic e.g. learning to work with statements, learning to work with data (e.g. SQL-Server, Oracle, MS-Access etc). Also another benefit is if something breaks inside an application with many moving parts one must debug code in two different places while having unit test can indicate if there is failure in backend code or frontend code for instance.

Use Visual Studio 2019 rather than older versions and start with .NET Framework 4.8 rather than .NET Core Framework. If you like to know why ask me.

Learn how to debug, many developers rely on using console write line or debug write line while there are much better ways using Visual Studio’s debugger.

Once the basics are understood, now is the time to create an application to learn how to put all the pieces together. Before writing any code for the application, lay out a design on paper, in a document or other tool. Working with data? Do not write SQL in the application, write SQL for instance in SSMS (SQL-Server Management Studio) and when it works write code and test using one or more unit test.


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

FurgelReid-7175 avatar image
1 Vote"
FurgelReid-7175 answered

Hey aamazing, I will indeed do that thanks for your response

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

mohammad-mehdi-alipour-8486 avatar image
0 Votes"
mohammad-mehdi-alipour-8486 answered mohammad-mehdi-alipour-8486 edited

hi

"best way to learn c# " was my question too

the best way to learn c# is about your hobbits

what is that mean ?

if you like learning with LEVELS and get some awards :
https://docs.microsoft.com/en-us/learn/browse/

if you like learning with videos :

https://www.youtube.com/channel/UCvtT19MZW8dq5Wwfu6B0oxw

don't forget installing vs 2022

and .net 4 "the last version" :)


your friend mohammad mehdi alipour :)

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

AndrTorelli avatar image
0 Votes"
AndrTorelli answered

The Microsoft Learn is a solid base and is free.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

RaymondGilbers-8810 avatar image
0 Votes"
RaymondGilbers-8810 answered RaymondGilbers-8810 edited

I just started at the pluralsight site but parallel i'm using also msn learning cause there are loads of good tutors. Next I have to say the learning to debug is a huge advantage there are many possibilities with the debugger within VS2022 which helps a lot finding errors.

And regarding "The best way to learn C#" this depends all on the person some people learn by watching videos some people like to write all down what a teacher says some grasp the idea of a subject and start asking questions. There is no best way in learning anything it depends on the person how this person learns the best way. this is just MHO

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.