This video takes a look at partial types, covering how classes, interfaces, and structs can be broken up into multiple files across the same namespace.
Here we have a look at partial methods, illustrating how the contents of a method body can be separated into different pieces in order to delineate different types of functionality.
Sealed classes provide a way to designate a class as unable to be extended or interited from. In this video we take a look at how to declare a sealed class and some considerations.
In this video we look at abstract classes, which cannot be instantiated. We look at the syntax for an abstract class along with certain caveats of their use.
Ref and Out are two keywords which allow arguments to be passed by reference, thereby giving a means to send more data out of a method than a single return type.
This video looks at a variety of different initializers available within C#, how they work, how they are written, and several consideration you should keep in mind when using them.
We now look at the ternary conditional operator, showing how it works and how it can be used to drastically shorten multi-line if-statements down to a single line of code.
In this video we take a look at the null coalescing operator, which is a shorthand syntax for having a fallback value in the case of a null result on an expression.
We now take a look at Try, Catch, and Finally, which allow you to control how errors are handled within your applications.
In this video we look at implicit typing in C#, which is a way that the compiler can determine the types of local variables without you having to designate them.
Here we take a look at nullable value types in C#, which allow you to apply the "null" value to any particular data type.
Extension methods are a way to add methods to types. In this video we take a look at extension methods, the syntax for creating them, and some considerations.
In this video we take a look at Using and Disposable.
This video explores the various access modifiers.
Here we explore the concept and application of nested types.
In this video we look at the concepts behind constructors, including some of the special considerations for using them.
Here we look at field initializers and how they work.
In this video we look at the readonly modifier and show how it is used to protect the data within your type.
This video covers the use of the const keyword and explains how it affects the information stored within your types.