Introduction To
C# Tutorials
C# commonly known as csharp is a simple & powerful object-oriented programming language developed by Microsoft within its .NET initiative led by Anders Hejlsberg. This tutorial will teach you basic C# programming and will also take you through various advanced concepts related to C# programming language. C# can be used to create various types of applications, such as web, windows, console applications or other types of applications using Visual studio.
These tutorials are broken down into sections, where each section contains a number of related topics that are packed with easy to understand explanations, real-world examples, useful tips, informative notes.
Prerequisites
C# programming is very much based on C and C++ programming languages, so if you have a basic understanding of C or C++ programming, then it will be fun to learn C#.
Course Structure:
Overview
- Introduction to .NET Framework
- C# .NET Framework (Basic Architecture and Component Stack)
- Introduction to C#
- Setting up the environment in C#
- Hello World in C#
- Main Method in C#
- Introduction to Visual Studio
- Common Language Runtime (CLR) in C#
- Introduction to C# Windows Forms Applications
- C++ vs C#
- Java vs C#
- Interesting Facts about C#
Fundamentals
Important Keywords
Control Statements
OOP Concepts
- C# Class and Object
- Nested Classes in C#
- Difference between Class and Structure in C#
- Early and late binding in C#
- C# Encapsulation
- C# Abstraction
- C# this Keyword
- C# Static Class
- Partial Classes in C#
- Shallow Copy and Deep Copy in C#
- Different ways to create an Object in C#
- Object and Collection Initializer in C#
- How to access structure elements using Pointers in C#
Methods
Constructors
Arrays
- C# Arrays
- C# Jagged Arrays
- C# Arrays of Strings
- C# Using foreach loop in arrays
- How to sort an Array in C# Array.Sort() Method Set – 1
- How to find the length of an Array in C#
- How to use Array.BinarySearch() Method in C# Set -1
- C# Check if an array object is equal to another array object
- Total number of elements in a specified dimension of an Array in C#
- C# LongLength property of an Array
- How to find the rank of an array in C#
- Passing arrays as arguments in C#
- C# Implicitly Typed Arrays
- Object and Dynamic Array in C#
- C# Array IndexOutofRange Exception
- Different ways to sort an array in descending order in C#
ArrayList
- ArrayList in C#
- How to create the ArrayList in C#
- C# ArrayList Class
- C# Array vs ArrayList
- C# Adding the elements to the end of the ArrayList
- C# Remove all elements from the ArrayList
- C# Remove a range of elements from the ArrayList
- C# How to convert an ArrayList to Array
- C# How to copy the entire ArrayList to a one-dimensional Array
- C# Copying the entire ArrayList to 1-D Array starting at the specified index
- C# Check if two ArrayList objects are equal
String
- C# String
- C# Verbatim String Literal – @
- C# String class
- C# String Properties
- C# How to use strings in switch statement
- C# String vs StringBuilder
- How to find the length of the StringBuilder in C#
- How to remove all characters from StringBuilder in C#
- C# Check if two StringBuilder objects are Equal
- How to find the Capacity of a StringBuilder in C#
Indexers & Properties
Inheritance
Interfaces
Multithreading
- C# Multithreading
- Types of Threads in C#
- How to create Threads in C#
- Main Thread in C#
- Lifecycle and States of a Thread in C#
- Thread Class in C#
- How to schedule a thread for execution in C#
- How to check whether a thread is alive or not in C#
- Joining Threads in C#
- How to Terminate a Thread in C#
- How to check whether a thread is a background thread or not in C#
- Naming a thread and fetching name of current thread in C#
- C# Thread Priority in Multithreading
