C# Tutorial - GeeksforGeeks_241215_204941
C# Tutorial - GeeksforGeeks_241215_204941
We use cookies to ensure you have the best browsing experience on our website. By
using our site, you acknowledge that you have read and understood our Cookie Policy & Got It !
Privacy Policy Cookies are not collected in the GeeksforGeeks mobile applications.
▲
Output
Hello, World!
Introduction
What is C#?
Installing and Setup Visual Studio Code
Setting Up Enviornment Variables
Hello World Program
Excecuting Program on CMD
Basics
Identifiers
Variables
Data Types
Constants and Literals
Scope of Variables
Params
Type Casting
Comments
Operators
We use cookies to ensure you have the best browsing experience on our website. By
Control Structures
using our site, you acknowledge that you have read and understood our Cookie Policy &
Privacy Policy Cookies are not collected in the GeeksforGeeks mobile applications.
Decision Making: If-Else, Switch-Case
Switch Statement
Loops: For, While, Do-While
Foreach Loop
Jump Statements: Break, Continue, Goto
OOPS Concepts
Class and Objects
Methods
Constructors
Destructors
Properties
Access Modifiers
Abstraction
Encapsulation
Inheritance
Method Overloading
Method Overriding
Abstract Classes
Interface
Sealed Classes
Delegates
Delegates
Predicate Delegate
Action Delegate
Func Delegate
Tuple
We use cookies to ensure you have the best browsing experience on our website. By
using our site, you acknowledge that you have read and understood our Cookie Policy &
What is Tuple?
Privacy Policy Cookies are not collected in the GeeksforGeeks mobile applications.
Tuple Class
Tuple<T1> Class
Tuple<T1,T2> Class
Tuple<T1,T2,T3> Class
Tuple<T1,T2,T3,T4> Class
Tuple<T1,T2,T3,T4,T5> Class
Tuple<T1,T2,T3,T4,T5,T6> Class
Tuple<T1,T2,T3,T4,T5,T6,T7> Class
Tuple<T1,T2,T3,T4,T5,T6,T7,TRest> Class
ValueTuple
What is ValueTuple?
ValueTuple Struct
ValueTuple <T1> Struct
ValueTuple <T1,T2> Struct
ValueTuple <T1,T2,T3> Struct
ValueTuple <T1,T2,T3,T4> Struct
ValueTuple <T1,T2,T3,T4,T5> Struct
ValueTuple <T1,T2,T3,T4,T5,T6> Struct
ValueTuple <T1,T2,T3,T4,T5,T6,T7> Struct
ValueTuple <T1,T2,T3,T4,T5,T6,T7,TRest> Struct
Multithreading
Introduction to Multithreading
Types of Threads
Creating Threads
Main Thread
Lifecycle and States of a Thread
Thread Class
Scheduling
We use cookies to ensure a thread
you have thefor Execution
best browsing experience on our website. By
using our site, you acknowledge that you have read and understood our Cookie Policy &
Check whether a Thread is Alive or Not
Privacy Policy Cookies are not collected in the GeeksforGeeks mobile applications.
Joining Threads
Terminating a Thread
Thread Priority in Multithreading
Exception Handling
Exceptions
System Level Exception vs Application Level Exception
How to Use Multiple Catch Clause
Nesting of Try and Catch Blocks
Using Finally
Collections Namespace
Stack Class
Queue Class
Array Class
ArrayList Class
Hashtable Class
BitArray Class
SortedList Class
Generic Namespace
HashSet<T> Class
We use cookies to ensure you Class
LinkedList<T> have the best browsing experience on our website. By
using our site, you acknowledge that you have read and understood our Cookie Policy &
List<T> Class
Privacy Policy Cookies are not collected in the GeeksforGeeks mobile applications.
SortedSet<T> Class
Dictionary Class
SortedDictionary Class
System Namespace
BitConverter Class
Console Class
Convert Class
Decimal Struct
Byte Struct
Char Struct
Int16 Struct
Int32 Struct
Int64 Struct
UInt16 Struct
UInt32 Struct
UInt64 Struct
Specialized Namespace
ListDictionary Class
StringCollection Class
OrderedDictionary Class
HybridDictionary Class
StringDictionary Class
C# 8.0
Static Local Function
Range and Indices
Range Structure
Index Struct
Windows Forms
What is Windows Forms(WF)?
Button Control
Label Control
RadioButton Control
We use cookies to ensure
CheckBox you have the best browsing experience on our website. By
Control
using our site, you acknowledge that you have read and understood our Cookie Policy &
TextBox Control
Privacy Policy Cookies are not collected in the GeeksforGeeks mobile applications.
ComboBox Control
ToolTip Class
RichTextBox Class
MaskedBox Class
NumericUpDown Class
DateTimePicker Class
ListBox Class
GroupBox Class
FlowLayoutPanel Class
C# Features
Simple: C# is a user-friendly language that offers a structured approach to
problem-solving. it provides a wide range of library functions and data
types to work.
ModernC#
.NET Framework Programming
Data Types C#Language:
Keywords C# programming
C# Decision Making isC#
a Methods
popular and
C# Delegates C# Co
powerful language that is for creating scalable, interoperable, and robust
applications.
Object Oriented: C# is an object-oriented programming language, which
makes development and maintenance easier. In contrast, with procedure-
oriented programming languages, managing code becomes difficult as
project size grows.
Type Safe: The code is type safe can only access memory locations that it
has permission to execute. This feature significantly enhances program
security.
Interoperability: The interoperability process allows C# programs to
perform all the tasks that a native C++ application.
Scalable and Updateable: C# is a programming language that is scalable
and can be updated automatically. To update our application, we remove
the old files and replace them with new ones.
Component Oriented: It is widely used as a software development
methodology to create applications that are more strong and can easily
scale.
Structured Programming Language: C# is a structured programming
language that allows us to divide programs into parts using functions,
making it easy to understand and modify.
Fast Speed: The compilation and execution time of C# language is fast.
We use cookies to ensure you have the best browsing experience on our website. By
FAQs
using our site, you acknowledge that you have read and understood our Cookie Policy &
Privacy Policy Cookies are not collected in the GeeksforGeeks mobile applications.
1. What is C# programming language used for?
3. What is serialization?
Hubstream India is looking for YOU— A skilled developers with 2-5 years of
experience in Microsoft technologies—to join their exclusive Job-A-Thon
hiring challenge.
Similar Reads
Introduction
C# Tutorial
C# is the most common programming language used to develop multiple applications in the.NET
framework, and it was introduced by Microsoft in 2000. It was designed to be a simple, object-oriented…
7 min read
The .NET Framework is a software development framework developed by Microsoft that provides a
runtime environment and a set of libraries and tools for building and running applications on Windows…
7 min read
Microsoft created the language C#, known as C Sharp, in the year 2000. C# is an object-oriented
programming language that is used in .NET Framework. C# is designed to be simple, efficient, and…
6 min read
Hello World in C#
The Hello World! program is the most basic and first program when you dive into a new programming
language. This simply prints the Hello World! on the output screen. In C#, a basic program consists of th…
3 min read
The Common Language Runtime (CLR) is a component of the Microsoft .NET Framework that manages the
execution of .NET applications. It is responsible for loading and executing the code written in various .NE…
6 min read
Fundamentals
Control Statements
We use cookies to ensure you have the best browsing experience on our website. By
usingOOP
our site, you acknowledge that you have read and understood our Cookie Policy &
Concepts
Privacy Policy Cookies are not collected in the GeeksforGeeks mobile applications.
Methods
Arrays
ArrayList
String
Tuple
Indexers
Properties
We use cookies to ensure you have the best browsing experience on our website. By
using our site, you acknowledge that you have read and understood our Cookie Policy &
Privacy Policy Cookies are not collected in the GeeksforGeeks mobile applications.
Company Languages DSA Data Science Web Python
About Us Python Data Structures & ML Technologies Tutorial
Legal Java Algorithms Data Science HTML Python
In Media C++ DSA for With Python CSS Programming
Contact Us PHP Beginners Data Science For JavaScript Examples
Advertise with us GoLang Basic DSA Beginner TypeScript Python Projects
GFG Corporate SQL Problems Machine ReactJS Python Tkinter
Solution R Language DSA Roadmap Learning NextJS Web Scraping
Placement Android Tutorial Top 100 DSA ML Maths Bootstrap OpenCV Tutorial
Training Program Tutorials Archive Interview Data Web Design Python Interview
GeeksforGeeks Problems Visualisation Question
Community DSA Roadmap by Pandas Django
Sandeep Jain NumPy
All Cheat Sheets NLP
Deep Learning
We use cookies to ensure you have the best browsing experience on our website. By
using our site, you acknowledge that you have read and understood our Cookie Policy &
Privacy Policy Cookies are not collected in the GeeksforGeeks mobile applications.