Can CodeNewbie learn C#? Yes, you can

9 July 2020 | 2 min read

This series of post is intended to help CodeNewbie who are interested to learn C# and help them with resources which they need to feel safe and motivated to continue learning C#. The posts will also consider exploring the learning path which one can use to get started.

The motivation for this blog post came from the below tweet. Though the tweet was specific to certain scenario, I wanted to expand more on that tweet through this blog post.

Where do I Start?

It is no doubt that there are various free resources which are available to learn C#. But one might feel overwhelmed over time because there are many concepts to learn in C# and one might feel exhausted.

LongRoadAhead Photo by Ivana Cajina on Unsplash

So, it is important to make sure that you don't overcommit yourself and stop your journey in the middle.

Day 1

Can you try a google search now - "Is C# object-oriented?"

This is where you will start. Yes, C# is an object-oriented programming language. If you are not familiar with object-oriented programming, I suggest getting to know them before diving into C#.

It is important to know about object-oriented programming concepts before diving deep into C#.

Once you get an understanding of the object-oriented aspects it is now time to apply the same learning into C#. This is where you will start to learn the building blocks of C# like Data Types in C#, Classes, Interfaces, Constructors, Inheritance, Polymorphism, Encapsulation and Abstraction.

Self-Check - At this stage you should be able to answer the below questions.

  1. What is a string? Are strings mutable or immutable?
  2. What are value types and reference types?
  3. What is a class? Write an example of class?
  4. How do you write a method or function in C#?
  5. What are class members?
  6. What is a variable and constant in C#?
  7. What are access modifiers in C#?
  8. How do you write interface in C#?
  9. How to implement inheritance in C#?
  10. How do you write an abstract class?
  11. What is the difference between interface and abstract class?
  12. What is the use of keyword virtual?
  13. What is a constructor? What are the different types of constructors?

Don't worry about the Hello world now.

At the end of Day 1 you will be having a basic understanding of building blocks in C#.

It is fine if you are not able to answer all the questions at the end of Day 1.

Everyone has their own pace to learn. If it is not Day 1 it can be end of Day 3 but don't stop until you have complete understanding of the building blocks of C#. What is more important is to maintain your momentum until you will be able to answer all the above questions confidently.