Since C# is a strongly-typed language, everything you work with has to have a type defined. It's vital to know how to create your own custom types like classes, interfaces, enums, and structs. In this course, Introduction to the C# Type System, you’ll learn about the type system in C#. First, you’ll explore the built-in data types, including int, string, and DateTime. Next, you’ll understand the difference between value types and reference types and you’ll see how to create your own types, be that classes, enums, interfaces, or structs. Finally, you’ll learn about the different aspects offered by C# to create classes including inheritance. When you have finished this course, you’ll understand the different value types and reference types in C# needed to create any .NET application using C#.
Course Overview Hi everyone. My name is Gill Cleeren, and welcome to my course, Introduction to the C# Type System. I'm the CTO of Xpirit Belgium, and I help customers with mobile and web application development. C# is a very popular language to create modern applications with, including web apps, APIs, mobile apps, and desktop applications. Everything in C# is a type, and thus understanding the type system with its many facets is important on your way to become a C# developer. This course is aimed at giving you the knowledge you need about the type system. In this course, you'll learn about the built‑in types and the way their values are treated and you'll understand that strings are a bit of a special case. You'll then learn how to create custom types, probably one of the most fundamental concepts you'll need to get your head around when learning C#. Most importantly, you'll understand how to create classes and use objects, then you'll understand the basics about inheritance and polymorphism. Finally, you'll also learn how to work with interfaces. Some of the major topics we will cover include learn about built‑in types that come with C#, get a deeper understanding about the difference between value types and reference types, create your own types, including classes and interfaces, understand what classes are, what objects are, and how these two relate, see how inheritance can be added when using classes in C#, implement a first interface on the classes you have created. By the end of the course, you'll have a deep understanding of the type system in C# and classes and objects won't have any secrets anymore for you. You'll be able to explain concepts such as inheritance, polymorphism, and interfaces. This course is part of the C# path, and it's expected you have already looked at the basics of the language itself. I hope you will join me on this journey to learn about the C# type system in the Introduction to the C# Type System course, here at Pluralsight.