2 - C# Syntax
2 - C# Syntax
What is C#?
C# Syntax
Follow
Content
Follow
All RAD Techno Services,
23/134, Swarn Path,
Mansarovar, Jaipur-302020
Email:- [email protected]
Website:- www.radtechnoservices.com
Follow
Follow
C# Syntax
What is C#
2. C# Syntax?
1. What is C#?
CONTENT
Content
Content
WHAT IS C#?
C# is pronounced "C-Sharp".
It is an object-oriented programming
language created by Microsoft that runs on
the .NET Framework.
Introductio
What is C# ?
C# Syntax
Follow
Follow
C# has roots from the C family, and the
language is close to other popular
languages like C++ and Java.
Requirement
Whats is C#
C# Syntax
Follow
namespace HelloWorld
Follow {
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Hello World!");
}
}
}
using System; :-
⦿using System means that we can use classes
from the System namespace.
namespace HelloWorld :-
Requirement
⦿It is used to organize your code, and it is a
Whats is C#
C# Syntax
Follow
Follow
container for classes and other namespaces.
class Program :-
⦿A "class" is a fundamental concept that
defines a blueprint for creating objects in
object-oriented programming (OOP)
languages.
static void Main(string[] args):-
⦿This is a main method called the entry point
of the application.
⦿ It's where the program execution starts
when you run the application.
Requirement
Whats is C#
C# Syntax
Follow
Follow Console.WriteLine("Hello World!"); :-
⦿To print the data on console we used
console.writeLine from the system
namespace .
YOU
THANK
Follow
Follow
Requirement
C# Syntax
s
What is C#?