Learning C#

Learning C#

2h 54mBeginner2023-09-14

Authors

Joe Marini

Joe Marini

Senior Developer Advocate at Google, Developer

Course details

The C# language got its start on Windows, but today you can find it almost everywhere. Whether it’s running on the cloud, to desktops with MacOS and Linux, to mobile operating systems like Android and iOS, C# has grown into a mature, powerful language for almost any programming purpose. In this course, Joe Marini dives into the fundamentals of C#, starting with a basic overview of language constructs like program flow and data types. He then gets into more advance topics such as functions, object-oriented programming techniques, and string processing. After this course, you’ll have a better understanding of C#, and how its combination of power, simplicity, and expressiveness make it an extremely versatile programming language that can be used for almost any scenario.

Skills covered

C#Programming LanguagesMicrosoftSoftware DevelopmentOne-Off

Concepts

Introduction

  • An introduction to learning C#
  • What you should know
  • Setting up your environment
  • How to run the examples
  • CoderPad Challenges

Overview of C#

  • Hello World C#
  • Variables and data types
  • Operators
  • Writing C# comments

C# Program Flow

  • Conditionals with if
  • Conditionals with switch
  • For loops
  • While loops
  • Using break and continue
  • Exceptions

C# Strings

  • String operations
  • String formatting
  • String interpolation
  • Using StringBuilder
  • String parsing
  • Solution - Count the data types

C# Functions

  • Function basics
  • Named and default parameters
  • Reference and out parameters
  • Returning multiple values
  • Solution - Palindrome

Object-Oriented C#

  • Defining C# classes
  • Access modifiers
  • Defining properties
  • Inheritance
  • String representation
  • Solution - Bank

Conclusion

  • Next steps
80,000 Toman