Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
PROGRAMMIN
G
C# (pronounce as C SHARP)
→ C# is syntactically similar to its
competitor Java. Being a C based
language, C# is closer to C++
and C as well.
2
C# (pronounce as C SHARP)
→ A general purpose, object
oriented programming language.
→ C# is one of the most popular
language used for developing
desktop and web application.
3
What is C#
(programming
language)?
History
Anders Hejlsberg in 1999
led a team to build a new
language called Cool (C-like
Object Oriented Language).
Later the name was changed
to C# for trademark reasons.
5
Reason Behind the
name 'C#'
The name C# or C sharp was inspired
from a musical note. The symbol # in
C# represents four '+' signs and is
named similar to C++. '++' in
programming indicates an increment
by 1.
6
Different versions of
C#
7
Features of
C#
Programming
Language
1. Simple to write and
understand
C# is syntactically very
similar to Java. It also borrows
certain concepts from C++.
The code written in C# is
much simpler and easier to
understand. 9
2. Object oriented
Like Java and C++, C# is an object
oriented programming language. It
supports the features of object
oriented paradigm such as objects,
classes, inheritance, polymorphism,
etc.
Object oriented approach is not only
easier and simpler but the preferred
10
3. Type safe
One of the peculiar feature of C# is
type safety. A type safe language
ensures that each variable of particular
type does not hold values of other type.
For instance, an integer variable will not
hold character values.
21
22
Install C#
extension for
Visual Studio
Code (For all
OS)
Install C# extension for
Visual Studio Code (For all
OS)
namespace Namespace-Name
namespace MyNamespace
namespace MyProgram
namespace Hello
31
3. class Hello{...}
The above statement creates a class
named -Hello in C#.
Since, C# is an object-oriented
programming language, creating a class
is mandatory for the program’s
execution.
32
4. static void Main(string[] args)
{...}
Main() is a method of class Hello. The
execution of every C# program starts
from the Main() method.
5. System.Console.WriteLine("Hello
World!");
the piece of code that prints Hello
World! to the output screen.
33
Alternative
Hello World!
implementati
on
35
2.namespace
HelloWorld{...}
Notice in this case, we’ve written using
System; at the start of the program.
By using this, we can now replace
WITH
36
37
Big
concept
Bring the attention of
your audience over a
key concept using icons
or illustrations
38
You can also split your content
White Black
Is the color of milk and Is the color of coal, ebony,
fresh snow, the color and of outer space. It is
produced by the the darkest color, the
combination of all the result of the absence of or
colors of the visible complete absorption of
spectrum. light.
39
In two or three columns
40
A picture is worth a thousand words
41
Want big
impact?
Use big
image.
42
Use charts to explain your ideas
43
Or diagrams to explain complex ideas
44
And tables to compare data
A B C
Yellow 10 20 7
Blue 30 15 10
Orange 5 24 16
45
Maps
our
office
46
89,526,12
4
Whoa! That’s a big number, aren’t you
proud?
47
89,526,124$
That’s a lot of money
185,244 users
And a lot of users
100%
Total success!
48
Our process is easy
last
first
second
49
Let’s review some concepts
50
You can copy&paste graphs from Google Sheets
51
Mobile project Place your screenshot here
52
Tablet project Place your screenshot here
53
Thanks!
Any questions?
You can find me at:
@username &
user@mail.me
54
Credits
55
Presentation design
◎ Blue #0091ea
◎ Dark gray #263238
◎ Medium gray #607d8b
◎ Light gray #cfd8dc
You don’t need to keep this slide in your presentation. It’s only
here to serve you as a design guide if you need to create new
slides or download the fonts to edit the presentation in
PowerPoint® 56
SlidesCarnival icons are editable
shapes.
Examples:
57
� Now you can use any emoji as an icon!
And of course it resizes without losing quality and you can change the
color.
�
✋���
� � ��
❤���� �
How? Follow Google instructions
https://twitter.com/googledocs/status/730087240156643328
and many
more...
58