Posts
C# Variables
In this code snippet, we will learn how to use variables in C#. A variable is a container(aka a place in memory) that holds a value. The value can be…
C# Data Type Conversion
In this code snippet, we will learn how to perform data type conversions in C#. C# has many different data types. You might find yourself needing to convert from one…
C# Data Types
In this code snippet, we will take a look at data types in C#. Data types are used to define the type of data a variable can hold. For example, to…
C# Fields and Properties
In this code snippet, we will learn how to implement fields and properties in C#. Fields are just normal variables but declared directly inside of a class. Even though you…
C# Static Keyword
In this code snippet, we will learn about the static keyword in C#. The static keyword is used to indicate that a method, property, etc can be used without making an instance…
C# Params Keyword
In this tutorial, we will learn how to use the params keyword in C#. The params keyword is used to define an array of input parameters for a method. Instead…
C# Access Modifiers
In this code snippet, we will learn how to use access modifiers in C#. Access modifiers are used to define the access level of types and members. The following access modifiers…
C# Methods
In this code snippet, we will learn about methods in C#. A method is basically a code block with a name. It can have input parameters to pass data into…