C# Flashcards
(41 cards)
C# pronounced as
C-Sharp
It is an object-oriented programming language provided by Microsoft that runs on .Net Framework.
C#
different types of secured and robust applications that we can develop:
Window applications
Web applications
Distributed applications
Web service applications
Database applications etc.
Who Developed C#
Anders Hejlsberg
The development of C# started in the _________
late 1990s
It was influenced by several programming languages like
c++
Java
Delphi
History: In order
1999
2000
2002
2003
2007
2010
2012
2015
2019
2020
Anders Hejlsberg and his team at Microsoft began developing C#
1999
C# was officially announced in July 2000 at the Professional Developers Conference (PDC) hosted by Microsoft.
2000
C# 1.0 was released in 2002 alongside the .NET Framework 1.0, featuring basic language constructs, garbage collection, properties, and events.
2002
Generics, anonymous methods, and iterators, enhancing productivity and expressiveness
2003
C# 3.0 introduced Language Integrated Query (LINQ) along with lambda expressions, extension methods, etc,
2007
C# 4.0 was released with .NET Framework 4.0,
2010
C# 5.0 was released with .NET Framework 4.5, which brought asynchronous programming support.
2012
These versions introduced various features such as string interpolation, expression-bodied members, pattern matching, tuples, etc.
2015
Reference types, asynchronous streams, default interface methods, and more, aiming to improve safety, performance, and productivity.
2019
Records, init-only properties, top-level statements, and pattern matching enhancements, for productivity and code clarity.
2020
IDE IN C#
- Visual Studio Code
- Rider
- Tutorialspoint
8 Basic Syntax in C#
- The using keyword
- The class keyword
- Member variables
- Member Functions
- Statements
- Identifier
- Comments
- Console.WriteLine() and ReadLine()
- is the first statement in any C# program.
- It is used for including the namespaces in the program.
- A program can include multiple using statements.
USING KEYWORD
- is used for declaring a class.
- Inside the class, you can define various members such as fields, properties, methods, constructors, and more.
CLASS KEYWORD
- are declared within a class and are used to store data associated with instances of that class.
- It holds state information for objects of the class.
Member variables
are declared within the class.
Member Functions
are a set of statements that perform a specific task.
Functions