My FeedDiscussionsHeadless CMS
New
Sign in
Log inSign up
Learn more about Hashnode Headless CMSHashnode Headless CMS
Collaborate seamlessly with Hashnode Headless CMS for Enterprise.
Upgrade ✨Learn more

Post hidden from Hashnode

Posts can be hidden from Hashnode network for various reasons. Contact the moderators for more details.

Learn C# with Examples

Suresh Dasari's photo
Suresh Dasari
·Apr 28, 2021·

3 min read

C# (pronounced as “C Sharp”) is a simple, modern, object-oriented, and type-safe programming language. C# language has its roots in C languages such as C, C++, and it is mostly similar to Java programming.

C# programming language has been built on .NET Framework to run the c# applications. We are required to install a .NET Framework component on our machines.

Why we need to use C#?

C# is an object oriented programming language and useful for building applications. C# is useful to build windows, web, and device applications. C# is a type-safe programming language, and it makes it impossible to perform unchecked type casts. C# provides a structured and extensible approach for error detection and recovery.

Prerequisites

If you have basic knowledge of C, C++ programming, it will be easy for you to understand c# tutorial concepts because the same C++ programming OOPS (object-oriented programming) concepts we will use in c# with extra features.

C# Course Content

Following are the different topics, you can learn in c# programming with examples.

C# Home
C# Introduction
C# Environment Setup
C# Hello World Program
C# Data Types
C# Variables
C# Value & Reference Types
C# Keywords
C# Namespaces
C# Comments
C# Operators
C# Arithmetic Operators
C# Relational Operators
C# Logical Operators
C# Bitwise Operators
C# Assignment Operators
C# Operators Precedence
C# If Statement
C# If Else Statement
C# If-Else-If Statement
C# Nested If Statement
C# Ternary Operator
C# Switch Statement
C# For loop
C# While Loop
C# Do-While Loop
C# Foreach Loop
C# Break Statement
C# Continue Statement
C# Goto Statement
C# Return Statement
C# Methods
C# Pass By Value
C# Pass By Reference
C# Out Parameter
C# Params Keyword
C# Arrays
C# Multidimensional Arrays
C# Jagged Arrays
C# Pass Arrays to Functions
C# Classes and Objects
C# Constructors
C# Copy Constructor
C# Static Constructor
C# Private Constructor
C# Destructor
C# this
C# Static
C# Static Class
C# Constant
C# Readonly
C# Structures
C# Enum
C# Properties
C# Partial Class
C# Partial Method
C# String
C# String Split
C# String Replace
C# String Concat
C# String Contains
C# Substring
C# String Compare
C# String Remove
C# String Format
C# String Equals
C# String Clone
C# String Copy
C# String Trim
C# String Join
C# String IndexOf
C# StringBuilder
C# Access Modifiers
C# Encapsulation
C# Abstraction
C# Inheritance
C# Method Overloading
C# Method Overriding
C# Virtual
C# Override
C# Base
C# Polymorphism
C# Sealed
C# Abstract
C# Interface
C# Delegates
C# Events
C# Collections
C# Arraylist
C# HashTable
C# Queue
C# Stack
C# Generics
C# Generic Constraints
C# Generic Collections
C# List
C# SortedList
C# Dictionary
C# HashSet
C# System.IO
C# FileStream
C# TextWriter
C# TextReader
C# StreamWriter
C# StreamReader
C# BinaryWriter
C# BinaryReader
C# FileInfo
C# DirectoryInfo
C# Serialization
C# Deserialization
C# Exception
C# Exception Handling
C# try-catch
C# try-catch-finally
C# throw
C# Custom Exception
C# Var
C# Dynamic Type
C# Nullable Types
C# Anonymous Types
C# Anonymous Methods
C# Indexer
C# Reflection
C# IEnumerable
C# Yield
C# Regex
C# String Interpolation
C# Extension Methods
C# Optional Parameters
C# Named Parameters
C# Threading
C# Multithreading
C# Sleep
C# Lock
C# Timer
C# Task
C# Tuple
C# ValueTuple
C# LINQ
C# Func
C# Action
C# Predicate