•Built-in
type in C#
–Boolean
type Only true or false
–Integral
type sbyte ,
byte , ushort, int uint
,long, ulong , char
–Floating
type Float and double
–Decimal
type
–String
type ( in
this session )
•Escape sequence in C#
•Verbatim literal
A
string data
type represent a series of Unicode characters
string
str
= “ This
is a message ”
•Verbatim literal is a
string with an @ symbol prefix. E.g. @”Hello”
•It
makes escapes
sequence as
normal printable characters.
No comments:
Post a Comment