C# or C-Sharp is the programming language behind .NET (dotnet) and the Unity framework. It was created at Microsoft as a C-like object-oriented language and is used to build apps for web, desktop, mobile, and more. 

#programming #unity #100SecondsOfCode

🔗 Resources

.NET Install https://dotnet.microsoft.com/download
C# docs https://docs.microsoft.com/en-us/dotnet/csharp/
Unity https://unity3d.com

🔥 Get More Content - Upgrade to PRO

Upgrade to Fireship PRO at https://fireship.io/pro
Use code lORhwXd2 for 25% off your first payment. 

🎨 My Editor Settings

- Atom One Dark 
- vscode-icons
- Fira Code Font

🔖 Topics Covered

- What is C#?
- C# Basics Tutorial
- History of C#
- How C# works
- What is C# used for?
- Who invented C#?
2024-02-04T05:37:37.961Z
nova-2
2-general-nova
2024-01-09.29447
30089e05-99d1-4376-b32e-c263170674af
032da8a7-0dbf-4e18-9ea0-8b33632d0903
f5ea1bccded8ec8e636424b47f3ef3d4d160a7abc46b216590d23ba9fe3ded94
67875a7f-c9c4-48a0-aa55-5bdb8a91c34a
deprecated
C sharp, a statically typed general purpose programming language famous for being the workhorse of the windows.netframework.
It was created in the year 2000 by Anders Heilsberg at Microsoft.
It was designed as a modern c like object oriented language and was originally going to be called cool.
Initially, it was criticized as imitation Java, but it's evolved into one of the most popular and well loved languages to this day.
It can be used to build almost anything, like desktop apps on dotnetcore, cross platform mobile apps with Xamarin, web applications with Blazer, and video games with the Unity framework.
It became open source for software in 2014 and can be used to build apps outside of the dotnetframework.
C sharp code is compiled into an intermediate language, which can then be interpreted by the common language runtime where it could be executed as native machine code on any operating system without the need to recompile.
It's known primarily as an object oriented language, but also supports functional lambda expressions and has the ability to write a declarative query on any data structure with a feature called link.
It's a memory safe language, thanks to garbage collection.
Chen, although it is possible to create an unsafe context if you want to allocate your own memory with pointers.
To get started, install the dotnetcore SDK, then open the terminal to an empty directory and run dotnetnew to create a new application.
That creates a program dot c s file that imports the system in space at the top, then provides a class with a main function which is where your code will start executing.
Declare a variable by starting with a type followed by a name and value.
By default, a value cannot be null, but you can make it nullable by adding a question mark to the type.
Now to organize our code and share it in other files, we will wrap it in a name space.
We can then create a new class inside the namespace that has a constructor when the class is instantiated and a destructor when the class goes out of scope.
Classes support inheritance, polymorphism, and everything else you would expect in a modern object oriented language.
We can define a property on the class and make it readable with get or writable at set.
The language doesn't have top level functions, but rather methods that are defined as a member of a class.
However, it does support lambda expressions or anonymous functions and other functional programming patterns.
When it comes to asynchronous programming, it supports a task based asynchronous pattern, allowing you to write right now I'm blocking code using the async await syntax.
Now to compile and execute your code, use the dotnet run command.
This has been c sharp in 100 seconds.
Hit Hit the like button and subscribe if you wanna see more short videos like this, and let me know in the comments if you wanna see a full dotnet or Unity tutorial.
Thanks for watching, and I will see you in the next one.

Speaker 0: C sharp, a statically typed general purpose programming language famous for being the workhorse of the windows.netframework. It was created in the year 2000 by Anders Heilsberg at Microsoft. It was designed as a modern c like object oriented language and was originally going to be called cool. Initially, it was criticized as imitation Java, but it's evolved into one of the most popular and well loved languages to this day. It can be used to build almost anything, like desktop apps on dotnetcore, cross platform mobile apps with Xamarin, web applications with Blazer, and video games with the Unity framework.

It became open source for software in 2014 and can be used to build apps outside of the dotnetframework. C sharp code is compiled into an intermediate language, which can then be interpreted by the common language runtime where it could be executed as native machine code on any operating system without the need to recompile. It's known primarily as an object oriented language, but also supports functional lambda expressions and has the ability to write a declarative query on any data structure with a feature called link. It's a memory safe language, thanks to garbage collection. Chen, although it is possible to create an unsafe context if you want to allocate your own memory with pointers.

To get started, install the dotnetcore SDK, then open the terminal to an empty directory and run dotnetnew to create a new application. That creates a program dot c s file that imports the system in space at the top, then provides a class with a main function which is where your code will start executing. Declare a variable by starting with a type followed by a name and value. By default, a value cannot be null, but you can make it nullable by adding a question mark to the type. Now to organize our code and share it in other files, we will wrap it in a name space.

We can then create a new class inside the namespace that has a constructor when the class is instantiated and a destructor when the class goes out of scope. Classes support inheritance, polymorphism, and everything else you would expect in a modern object oriented language. We can define a property on the class and make it readable with get or writable at set. The language doesn't have top level functions, but rather methods that are defined as a member of a class. However, it does support lambda expressions or anonymous functions and other functional programming patterns.

When it comes to asynchronous programming, it supports a task based asynchronous pattern, allowing you to write right now I'm blocking code using the async await syntax. Now to compile and execute your code, use the dotnet run command. This has been c sharp in 100 seconds. Hit Hit the like button and subscribe if you wanna see more short videos like this, and let me know in the comments if you wanna see a full dotnet or Unity tutorial. Thanks for watching, and I will see you in the next one.
C sharp, a statically typed general purpose programming language famous for being the workhorse of the windows.netframework. It was created in the year 2000 by Anders Heilsberg at Microsoft. It was designed as a modern c like object oriented language and was originally going to be called cool. Initially, it was criticized as imitation Java, but it's evolved into one of the most popular and well loved languages to this day. It can be used to build almost anything, like desktop apps on dotnetcore, cross platform mobile apps with Xamarin, web applications with Blazer, and video games with the Unity framework. It became open source for software in 2014 and can be used to build apps outside of the dotnetframework. C sharp code is compiled into an intermediate language, which can then be interpreted by the common language runtime where it could be executed as native machine code on any operating system without the need to recompile. It's known primarily as an object oriented language, but also supports functional lambda expressions and has the ability to write a declarative query on any data structure with a feature called link. It's a memory safe language, thanks to garbage collection. Chen, although it is possible to create an unsafe context if you want to allocate your own memory with pointers.
software development
software
languages
databases
computer science
To get started, install the dotnetcore SDK, then open the terminal to an empty directory and run dotnetnew to create a new application. That creates a program dot c s file that imports the system in space at the top, then provides a class with a main function which is where your code will start executing. Declare a variable by starting with a type followed by a name and value. By default, a value cannot be null, but you can make it nullable by adding a question mark to the type. Now to organize our code and share it in other files, we will wrap it in a name space. We can then create a new class inside the namespace that has a constructor when the class is instantiated and a destructor when the class goes out of scope.
Classes support inheritance, polymorphism, and everything else you would expect in a modern object oriented language. We can define a property on the class and make it readable with get or writable at set. The language doesn't have top level functions, but rather methods that are defined as a member of a class. However, it does support lambda expressions or anonymous functions and other functional programming patterns. When it comes to asynchronous programming, it supports a task based asynchronous pattern, allowing you to write right now I'm blocking code using the async await syntax.
programming
intellectual property
Now to compile and execute your code, use the dotnet run command. This has been c sharp in 100 seconds. Hit Hit the like button and subscribe if you wanna see more short videos like this, and let me know in the comments if you wanna see a full dotnet or Unity tutorial. Thanks for watching, and I will see you in the next one.
C sharp, a statically typed general purpose programming language famous for being the workhorse of the windows.netframework. It was created in the year 2000 by Anders Heilsberg at Microsoft. It was designed as a modern c like object oriented language and was originally going to be called cool. Initially, it was criticized as imitation Java, but it's evolved into one of the most popular and well loved languages to this day. It can be used to build almost anything, like desktop apps on dotnetcore, cross platform mobile apps with Xamarin, web applications with Blazer, and video games with the Unity framework. It became open source for software in 2014 and can be used to build apps outside of the dotnetframework. C sharp code is compiled into an intermediate language, which can then be interpreted by the common language runtime where it could be executed as native machine code on any operating system without the need to recompile. It's known primarily as an object oriented language, but also supports functional lambda expressions and has the ability to write a declarative query on any data structure with a feature called link. It's a memory safe language, thanks to garbage collection. Chen, although it is possible to create an unsafe context if you want to allocate your own memory with pointers. To get started, install the dotnetcore SDK, then open the terminal to an empty directory and run dotnetnew to create a new application. That creates a program dot c s file that imports the system in space at the top, then provides a class with a main function which is where your code will start executing. Declare a variable by starting with a type followed by a name and value. By default, a value cannot be null, but you can make it nullable by adding a question mark to the type. Now to organize our code and share it in other files, we will wrap it in a name space. We can then create a new class inside the namespace that has a constructor when the class is instantiated and a destructor when the class goes out of scope. Classes support inheritance, polymorphism, and everything else you would expect in a modern object oriented language. We can define a property on the class and make it readable with get or writable at set. The language doesn't have top level functions, but rather methods that are defined as a member of a class. However, it does support lambda expressions or anonymous functions and other functional programming patterns. When it comes to asynchronous programming, it supports a task based asynchronous pattern, allowing you to write right now I'm blocking code using the async await syntax. Now to compile and execute your code, use the dotnet run command. This has been c sharp in 100 seconds. Hit Hit the like button and subscribe if you wanna see more short videos like this, and let me know in the comments if you wanna see a full dotnet or Unity tutorial. Thanks for watching, and I will see you in the next one.
C
c
sharp,
sharp
a
a
statically
statically
typed
typed
general
general
purpose
purpose
programming
programming
language
language
famous
famous
for
for
being
being
the
the
workhorse
workhorse
of
of
the
the
windows.netframework.
windows.netframework
It
it
was
was
created
created
in
in
the
the
year
year
2000
2000
by
by
Anders
anders
Heilsberg
heilsberg
at
at
Microsoft.
microsoft
It
it
was
was
designed
designed
as
as
a
a
modern
modern
c
c
like
like
object
object
oriented
oriented
language
language
and
and
was
was
originally
originally
going
going
to
to
be
be
called
called
cool.
cool
Initially,
initially
it
it
was
was
criticized
criticized
as
as
imitation
imitation
Java,
java
but
but
it's
it's
evolved
evolved
into
into
one
one
of
of
the
the
most
most
popular
popular
and
and
well
well
loved
loved
languages
languages
to
to
this
this
day.
day
It
it
can
can
be
be
used
used
to
to
build
build
almost
almost
anything,
anything
like
like
desktop
desktop
apps
apps
on
on
dotnetcore,
dotnetcore
cross
cross
platform
platform
mobile
mobile
apps
apps
with
with
Xamarin,
xamarin
web
web
applications
applications
with
with
Blazer,
blazer
and
and
video
video
games
games
with
with
the
the
Unity
unity
framework.
framework
It
it
became
became
open
open
source
source
for
for
software
software
in
in
2014
2014
and
and
can
can
be
be
used
used
to
to
build
build
apps
apps
outside
outside
of
of
the
the
dotnetframework.
dotnetframework
C
c
sharp
sharp
code
code
is
is
compiled
compiled
into
into
an
an
intermediate
intermediate
language,
language
which
which
can
can
then
then
be
be
interpreted
interpreted
by
by
the
the
common
common
language
language
runtime
runtime
where
where
it
it
could
could
be
be
executed
executed
as
as
native
native
machine
machine
code
code
on
on
any
any
operating
operating
system
system
without
without
the
the
need
need
to
to
recompile.
recompile
It's
it's
known
known
primarily
primarily
as
as
an
an
object
object
oriented
oriented
language,
language
but
but
also
also
supports
supports
functional
functional
lambda
lambda
expressions
expressions
and
and
has
has
the
the
ability
ability
to
to
write
write
a
a
declarative
declarative
query
query
on
on
any
any
data
data
structure
structure
with
with
a
a
feature
feature
called
called
link.
link
It's
it's
a
a
memory
memory
safe
safe
language,
language
thanks
thanks
to
to
garbage
garbage
collection.
collection
Chen,
chen
although
although
it
it
is
is
possible
possible
to
to
create
create
an
an
unsafe
unsafe
context
context
if
if
you
you
want
want
to
to
allocate
allocate
your
your
own
own
memory
memory
with
with
pointers.
pointers
To
to
get
get
started,
started
install
install
the
the
dotnetcore
dotnetcore
SDK,
sdk
then
then
open
open
the
the
terminal
terminal
to
to
an
an
empty
empty
directory
directory
and
and
run
run
dotnetnew
dotnetnew
to
to
create
create
a
a
new
new
application.
application
That
that
creates
creates
a
a
program
program
dot
dot
c
c
s
s
file
file
that
that
imports
imports
the
the
system
system
in
in
space
space
at
at
the
the
top,
top
then
then
provides
provides
a
a
class
class
with
with
a
a
main
main
function
function
which
which
is
is
where
where
your
your
code
code
will
will
start
start
executing.
executing
Declare
declare
a
a
variable
variable
by
by
starting
starting
with
with
a
a
type
type
followed
followed
by
by
a
a
name
name
and
and
value.
value
By
by
default,
default
a
a
value
value
cannot
cannot
be
be
null,
null
but
but
you
you
can
can
make
make
it
it
nullable
nullable
by
by
adding
adding
a
a
question
question
mark
mark
to
to
the
the
type.
type
Now
now
to
to
organize
organize
our
our
code
code
and
and
share
share
it
it
in
in
other
other
files,
files
we
we
will
will
wrap
wrap
it
it
in
in
a
a
name
name
space.
space
We
we
can
can
then
then
create
create
a
a
new
new
class
class
inside
inside
the
the
namespace
namespace
that
that
has
has
a
a
constructor
constructor
when
when
the
the
class
class
is
is
instantiated
instantiated
and
and
a
a
destructor
destructor
when
when
the
the
class
class
goes
goes
out
out
of
of
scope.
scope
Classes
classes
support
support
inheritance,
inheritance
polymorphism,
polymorphism
and
and
everything
everything
else
else
you
you
would
would
expect
expect
in
in
a
a
modern
modern
object
object
oriented
oriented
language.
language
We
we
can
can
define
define
a
a
property
property
on
on
the
the
class
class
and
and
make
make
it
it
readable
readable
with
with
get
get
or
or
writable
writable
at
at
set.
set
The
the
language
language
doesn't
doesn't
have
have
top
top
level
level
functions,
functions
but
but
rather
rather
methods
methods
that
that
are
are
defined
defined
as
as
a
a
member
member
of
of
a
a
class.
class
However,
however
it
it
does
does
support
support
lambda
lambda
expressions
expressions
or
or
anonymous
anonymous
functions
functions
and
and
other
other
functional
functional
programming
programming
patterns.
patterns
When
when
it
it
comes
comes
to
to
asynchronous
asynchronous
programming,
programming
it
it
supports
supports
a
a
task
task
based
based
asynchronous
asynchronous
pattern,
pattern
allowing
allowing
you
you
to
to
write
write
right
right
now
now
I'm
i'm
blocking
blocking
code
code
using
using
the
the
async
async
await
await
syntax.
syntax
Now
now
to
to
compile
compile
and
and
execute
execute
your
your
code,
code
use
use
the
the
dotnet
dotnet
run
run
command.
command
This
this
has
has
been
been
c
c
sharp
sharp
in
in
100
100
seconds.
seconds
Hit
hit
Hit
hit
the
the
like
like
button
button
and
and
subscribe
subscribe
if
if
you
you
wanna
wanna
see
see
more
more
short
short
videos
videos
like
like
this,
this
and
and
let
let
me
me
know
know
in
in
the
the
comments
comments
if
if
you
you
wanna
wanna
see
see
a
a
full
full
dotnet
dotnet
or
or
Unity
unity
tutorial.
tutorial
Thanks
thanks
for
for
watching,
watching
and
and
I
i
will
will
see
see
you
you
in
in
the
the
next
next
one.
one
success
The host discusses the language C sharp, which is an object-oriented language used in Windows and Android, and its use for building apps. The language supports various programming patterns, including task-based and asynchronous programs, and is used for creating and executing code. The host provides links to resources and encourages viewers to ask questions in the comments.
C# in 100 Seconds
C sharp, a statically typed general purpose programming language famous for being the workhorse of the windows.netframework. It was created in the year 2000 by Anders Heilsberg at Microsoft. It was designed as a modern c like object oriented language and was originally going to be called cool. Initially, it was criticized as imitation Java, but it's evolved into one of the most popular and well loved languages to this day. It can be used to build almost anything, like desktop apps on dotnetcore, cross platform mobile apps with Xamarin, web applications with Blazer, and video games with the Unity framework. It became open source for software in 2014 and can be used to build apps outside of the dotnetframework. C sharp code is compiled into an intermediate language, which can then be interpreted by the common language runtime where it could be executed as native machine code on any operating system without the need to recompile. It's known primarily as an object oriented language, but also supports functional lambda expressions and has the ability to write a declarative query on any data structure with a feature called link. It's a memory safe language, thanks to garbage collection. Chen, although it is possible to create an unsafe context if you want to allocate your own memory with pointers. To get started, install the dotnetcore SDK, then open the terminal to an empty directory and run dotnetnew to create a new application. That creates a program dot c s file that imports the system in space at the top, then provides a class with a main function which is where your code will start executing. Declare a variable by starting with a type followed by a name and value. By default, a value cannot be null, but you can make it nullable by adding a question mark to the type. Now to organize our code and share it in other files, we will wrap it in a name space. We can then create a new class inside the namespace that has a constructor when the class is instantiated and a destructor when the class goes out of scope. Classes support inheritance, polymorphism, and everything else you would expect in a modern object oriented language. We can define a property on the class and make it readable with get or writable at set. The language doesn't have top level functions, but rather methods that are defined as a member of a class. However, it does support lambda expressions or anonymous functions and other functional programming patterns. When it comes to asynchronous programming, it supports a task based asynchronous pattern, allowing you to write right now I'm blocking code using the async await syntax. Now to compile and execute your code, use the dotnet run command. This has been c sharp in 100 seconds. Hit Hit the like button and subscribe if you wanna see more short videos like this, and let me know in the comments if you wanna see a full dotnet or Unity tutorial. Thanks for watching, and I will see you in the next one.
The host discusses the language C sharp, which is an object-oriented language used in Windows and Android, and its use for building apps. The language supports various programming patterns, including task-based and asynchronous programs, and is used for creating and executing code. The host provides links to resources and encourages viewers to ask questions in the comments.

        [INST]
        You are youtuber called Fireship you make engaging high-intensity and entertaining coding tutorials and tech news. 
        you covers a wide range of topics relevant to programmers, aiming to help them learn and improve their skills quickly.
        
        Given the title of the video : C# in 100 Seconds 
        and a small summary : The host discusses the language C sharp, which is an object-oriented language used in Windows and Android, and its use for building apps. The language supports various programming patterns, including task-based and asynchronous programs, and is used for creating and executing code. The host provides links to resources and encourages viewers to ask questions in the comments.
        [/INST]
        
        Generate the video : C sharp, a statically typed general purpose programming language famous for being the workhorse of the windows.netframework. It was created in the year 2000 by Anders Heilsberg at Microsoft. It was designed as a modern c like object oriented language and was originally going to be called cool. Initially, it was criticized as imitation Java, but it's evolved into one of the most popular and well loved languages to this day. It can be used to build almost anything, like desktop apps on dotnetcore, cross platform mobile apps with Xamarin, web applications with Blazer, and video games with the Unity framework. It became open source for software in 2014 and can be used to build apps outside of the dotnetframework. C sharp code is compiled into an intermediate language, which can then be interpreted by the common language runtime where it could be executed as native machine code on any operating system without the need to recompile. It's known primarily as an object oriented language, but also supports functional lambda expressions and has the ability to write a declarative query on any data structure with a feature called link. It's a memory safe language, thanks to garbage collection. Chen, although it is possible to create an unsafe context if you want to allocate your own memory with pointers. To get started, install the dotnetcore SDK, then open the terminal to an empty directory and run dotnetnew to create a new application. That creates a program dot c s file that imports the system in space at the top, then provides a class with a main function which is where your code will start executing. Declare a variable by starting with a type followed by a name and value. By default, a value cannot be null, but you can make it nullable by adding a question mark to the type. Now to organize our code and share it in other files, we will wrap it in a name space. We can then create a new class inside the namespace that has a constructor when the class is instantiated and a destructor when the class goes out of scope. Classes support inheritance, polymorphism, and everything else you would expect in a modern object oriented language. We can define a property on the class and make it readable with get or writable at set. The language doesn't have top level functions, but rather methods that are defined as a member of a class. However, it does support lambda expressions or anonymous functions and other functional programming patterns. When it comes to asynchronous programming, it supports a task based asynchronous pattern, allowing you to write right now I'm blocking code using the async await syntax. Now to compile and execute your code, use the dotnet run command. This has been c sharp in 100 seconds. Hit Hit the like button and subscribe if you wanna see more short videos like this, and let me know in the comments if you wanna see a full dotnet or Unity tutorial. Thanks for watching, and I will see you in the next one.
        