Sun. Jan 17th, 2021

Even though it’s done For almost 20 years, there has never been a better time to learn C #, as it is actually considered a modern programming language. Even if you get into it Web development, Mobile application development, desktop application or game development, or you just want to start learning programming, C # is a common common-language to master due to its versatility. I started my career with many other languages, and even though C # was not my first, it is a strong language and ecosystem that provides flexibility and power to any type of project.

(Getty Images)

Originally, I started learning C # to open up more programming opportunities. The company I currently work in handles a number of large web service projects written in C # / NET. While I typically work on the front end, I began learning C # to better understand the back-end services written by our team. Additionally, I have always been interested in video game development, and with a growing number of modern game engines being developed in C #, language learning seemed like a worthwhile endeavor.

In learning C #, I have deeply admired statistically typed languages ​​and brought them into large and complex applications. Statistically typed languages ​​like java and C ++ When you create it you need to declare the “type” of a variable, such as a string, integer or other. Dynamic-typed languages ​​do their best to understand the type of variable without declaring it to you. Since I mainly come from A. JavaScript, PHP and Python Backgrounds, which are all dynamically typed, give me more confidence with the structure of static typing. Software i write.

Since C # was not my first programming language, I already had a solid understanding of fundamental to work with when I started learning it. According to Ji developerí Činčura, a developer and author of a blog Tab over space, Is the most important place to start those principles.

“I’ll focus on the basics first,” saysINčura. “I know it’s boring sometimes, but I think in three days you can bring the basics down and have a solid understanding and starting point.”

If you are like me and already have a solid understanding of the basics of programming, you can learn C # quickly. The main syntax will only take you a few days to understand. For this, Official Microsoft .NET Resource Some are excellent, and those are where I started. My suggestion is to start by taking a manageable project and tackle it head on.

“I would recommend doing first … start with a simple program,“Says Inčura. “Don’t try to get started with a web application … Start with simple stuff like a console app and familiarize yourself with the language, ecosystem with the device.”

I chose a classic example for learning object-oriented programming, a point-of-sale system for a fictional movie rental chain called Movieworld. I started by setting goals and asking some basic questions to direct the project:

  • What should this application do? This should allow one to manage the customers, their rentals and what films are in stock.
  • How should the application work? The orders include one customer and several movies. Movies can be new releases or standard – and so on.
  • Where should i start To begin with, start with a simple command-line app, and work towards your goal based on the questions you have given.

“The way I learned… Choose a manageable task that you can cut… a simple app… is just something you want to create.,Says Christian Findlay, an Australia-based C # specialist who develops software and content. “Maybe write down how it should work … and then go through the process of making it.” In that process, you will have a lot of questions. Reaching out to the community is your best way to learn and get feedback about doing things. “

Initially, Google may find it difficult for your questions, so resources are preferred stack Overflow And this Learn C # subreddit Can be very helpful. While the Internet may be notorious on beginning programmers, the C # community is quite welcoming.

Some of the biggest challenges come not from learning languages ​​and syntax, but when understanding best practices and the C # ecosystem overall.

“A lot of stuff has been happening in the .NET ecosystem lately. It should be difficult for newcomers to monitor everything.

When you work on a pet project to hone your skills and gain a deeper understanding of C #, you can find answers to your questions and take the help of books, tutorials and modern hybrid tutorials / hands-on systems Huh. Findlay Recommended Catacoda by O’Reilly, Which he uses.

“You can log in to the browser, it will give you a command prompt and file editor, and you can go into the code and run the code directly inside the browser.,”Says Findlay. “Those types of tutorials … introduce you to the language … but also give you a chance to try it all in one place.”

Most of us who decide to explore a new skill want to know how long it will take to learn. For C #, how quickly you choose a language depends on the factors in which you have done any programming before. Are you proficient in any other programming language? Do you know how to use a computer?

“If you have programming experience … it will take you a week to learn C #. A week, really,” urainčura says. “It is not a difficult language. You do not know all the bells and whistles. Basically in a week you can start writing code. “

If you are new to programming, you can definitely start with C #, but the language is not what is important – understanding the basics is essential, and it doesn’t take you long to master the key concepts needed. When starting C #, it Even language agnostic can be learned, Using what is known as “pseudocycles” to understand logical patterns and basic ideas that apply to all programming languages. These core concepts can be learned as soon as possible in a day. Implementing them in C # and writing really simple code can be completed within a couple of weeks, depending on how much time you devote to learning.

If you have experience with other programming languages, choosing C # syntactically should be relatively easy. However, learning the ecosystem and best practices will take some time. This is the part that has been the most difficult for me – understanding the “C # way” of doing things. I learned to navigate the language by joining the C # community, reading articles and critiquing my own code.

“Put your code in a public place like GitHub or Stack Overflow and say, ‘I’ve done it. How will I improve it?’ … It’s the one thing that allows you to learn and improve for the rest of your life. Dega, “Findlay says.” You’re looking at a long journey, but that doesn’t mean you can’t develop something right now. “

You can create almost anything with C #. While it is most commonly used such as web, desktop application and game development, framework Xamarin The horizons for C # as a language for mobile development are widening.

Cross # Platform Development – Even in the world of writing code, # is a strong player that can run on all systems. Like the framework Uno Make it possible

“More and more, these technologies are rolling out in various form factors such as phones, and now it is moving to the browser as well,” Findlay says. “The future as I see it … is really about cross-platform app development.”

Is also proving to be a viable language for C # machine learning And artificial intelligence, like with frameworks ML.NET.

If you want to become a proficient C # programmer, you need to take time to dub, then to complete more time. It may not be necessary to take courses or read textbooks, but what is most important is working regularly and always wanting to learn more, not just doing the same thing over and over again.

“It took a lot to play with basically anything for evenings and weekends,” saysINčura. “I completely understand that there are people … who don’t do programming in the evening. It’s fine, but don’t pretend you’re going to be a great developer. If you like it … just its Practice. “

  • W3Schools: This is an invaluable resource for examples, tutorials, quizzes and exercises on C #.
  • TutorialsTeacher: This site contains information on C # programming and lots of free tutorials.
  • Christian Discovery on Katakoda: Findlay’s resources here are excellent for understanding C # basics and getting started quickly.
  • FreeCodeCamp.org on YouTube – freeCodeCamp.org provides almost unlimited resources on programming, and the videos on C # are excellent.

Source link

Leave a Reply

Your email address will not be published. Required fields are marked *