C# Notes Unit1to5
C# Notes Unit1to5
.c
up
ro
sg
nt
u de
st
ity
.c
w
w
w
www.citystudentsgroup.com
om
.c
up
ro
sg
nt
u de
st
ity
.c
w
w
w
www.citystudentsgroup.com
om
.c
up
ro
sg
nt
u de
st
ity
.c
w
w
w
www.citystudentsgroup.com
om
.c
up
ro
sg
nt
u de
st
ity
.c
w
w
w
www.citystudentsgroup.com
om
.c
up
ro
sg
nt
u de
st
ity
.c
w
w
w
www.citystudentsgroup.com
om
.c
up
ro
sg
nt
u de
st
ity
.c
w
w
w
www.citystudentsgroup.com
om
.c
up
ro
sg
nt
u de
st
ity
.c
w
w
w
www.citystudentsgroup.com
om
.c
up
ro
sg
nt
u de
st
ity
.c
w
w
w
www.citystudentsgroup.com
om
.c
up
ro
sg
nt
u de
st
ity
.c
w
w
w
www.citystudentsgroup.com
om
.c
up
ro
sg
nt
u de
st
ity
.c
w
w
w
www.citystudentsgroup.com
om
.c
up
ro
sg
nt
u de
st
ity
.c
w
w
w
www.citystudentsgroup.com
om
.c
up
ro
sg
nt
u de
st
ity
.c
w
w
w
www.citystudentsgroup.com
om
.c
up
ro
sg
nt
u de
st
ity
.c
w
w
w
www.citystudentsgroup.com
om
.c
up
ro
sg
nt
u de
st
ity
.c
w
w
w
www.citystudentsgroup.com
om
.c
up
ro
sg
nt
u de
st
ity
.c
w
w
w
www.citystudentsgroup.com
om
.c
up
ro
sg
nt
u de
st
ity
.c
w
w
w
www.citystudentsgroup.com
om
.c
up
ro
sg
nt
u de
st
ity
.c
w
w
w
www.citystudentsgroup.com
om
.c
up
ro
sg
nt
u de
st
ity
.c
w
w
w
www.citystudentsgroup.com
C#' PROGRAMMING AND .NET CONCEPTS
om
~ ~rt<fh...[
.c
~ .$kNe- VOlJ f1sW., () [
up ,
f~' .':>J
ro
} ~o l....1tJ.ili;l-:iA.e.( w~ ...:~
••o
sg
A.
J
nt
de
=v':": ~, I"
-:
u
st
10 -!he-.. ~~&SI.J.("MJ
ity
cu.J reM. ~ ·
w
c.sc, ~. ~
w
if'- '(f
w
~ e~ d.iJ.QL~ co-
~
Mrs.Tabassum Ara M.Tech Asst. Prof., Dept. of CSE @ HKBKCE, Bangalore.
[email protected]
www.citystudentsgroup.com CD
~~~hJl~
J~ C5NZ- ~~ ~ do ~
~(f u~u1~
--r-~.k /
~J ~.
LUe.4 ~ tl tb ~ ~ uUl=f
SyJkm ,{~.Fmmt..
om
LUt'Q ~/.eJm. ~J>~J
.c
...:
llit\j ~sh; up Q.
GI
Q
~wu~{ .
ro
chus
sg
~ s/dsPjG. ~ f'o4W..~Jl
nt
'r
u
st
}
ty
..t~
i
.c
H9lb ...
om
Output Option Shortcut Meaning Example
lout 10 Used to specify the name of csc /out.a.exe
the assembly to be created. By sample.cs
.c
default, the assembly name is
up
the same as the name of the
initial input *.cs
/target.exe /t.exe To build an executable csc It:exe sample.cs
ro
console application. This is the
sg
default file
output type.
It library csc It library lib.cs
nt
assemblies.
st
background.
Ireference Ir To Reference external csc
.c
assemblies Ir:System.Windows.Fo
rms.dll sample.cs
w
w
w
ll.M(J- &tdDro:..
:J z: wPl~. ~~ms j
j } .
om
LU-I(I 4 s/ffn~
.c
up
cJa.M. Ja+f ..:
ro
a..e
I~(._~__
sg
~~'L ~ ~.()l
."/~:".- [4.1;tt-i
nt
f> ~\(
L.1.:J m-OLt.1 J..-j JUliJ-..LIUl .."""l< j ;J
de
} U ,/~
ty
J
i
.c
w
SdM.L-/hL! ~ -!UMlfh.£6
w
w
..www.citystudentsgroup.com
~ ~~ fMM) --fhCA ~4Ol / F ~~dfu1:
et!
t-'elb ...
Ir
•..
·ok ··..·l)
,~fjffi
..~....
~.'
..•...
MJ'
~e,cj 1t"w1f,p~ ~~ ~~
~~ ~-kJ
om
wC- csiri be.- ~
.c
~ CR-Od-h /~ ~ ~1ioo.
up
Q
ro
~~ i
sg
~~~'~ 1
de
""~
"rr=&).e.s .
u
-,
E
et
st
E
::s
ity
III
III
J2
~
t-
w
-
2.
rr----------------------------------------------------------------------------------------
11- is
e~
(..\~\ trtu.uJ~;1\J.e7\rAtUlWP~\V2.0.{;;-O')l~
om
Ir:Accessibility.dll
Ir:Microsoft. V sa.dll
.c
Ir: System. Configuration.dll
, Ir: System. Configuration.Install.dll up ...:
Q.
Ir: System.Data.dll C
Q)
Ir:System.Deployment.dll
Ir: System.Design.dll
nt
Ir:System.DirectoryServices.dll
Ir:System.dll
de
Ir:System.Drawing.Design.dll
Ir:System.Drawing.dll
u
Ir: System.EnterpriseServices.dll
st
I Ir:System.Management.dll
ty
! Ir:System.Messaging.dll
Ir: System.Runtime.Remoting.dll
i
.c
Ir:System.Web.dll
~t Wlc/·1he-e~ ~ 1bU tk ~
'*4~
2)SJ<:.trnpb-
I~~~~ ~/r.L~"-~~.dP1.
/9..-'. &e!.f.em.D~.d1t
om
It ~~?e-'L
.c
.;
i
c.
up
8CW.1L:fhu tf'- ~ CL (}etffiJL rn'f~!owYl.«>~
CP
ro
=r= ff'--to
sg
~ ~ c.D1in'1hQl)c4 ~
de
i
~
<
u
u~@~~.~
st
=r=t':
ty
~. 1'0 nocmf:J ~
w
c...ommQrrc)
w
om
ex [it] Exit the debugger w
tn
g[ol Continue debugging the current process until hitting next breakpoint. U
o [ut] •••o
.c
Step out of the current function.
p[rint] Print all loaded variables (local, arguments, etc.).
.:
up Q.
CII
SI Step into the next line. C
so Step over the next line. ...:
ro
e
D.
'It> ~ cd- ~~ P.ine.. _
sg
nt
=r-:
u
I~
st
cs« ~.~/1b~
ty
CL C£lQj~ .& i8
.c
w
~ ~--lh-.~
w
~L-~ ~~.~
www.citystudentsgroup.com
om
.c
up
ro
sg
nt
u de
st
ity
.c
w
w
w
www.citystudentsgroup.com
om
.c
up
ro
sg
nt
u de
st
ity
.c
w
w
w
www.citystudentsgroup.com
om
.c
up
ro
sg
nt
u de
st
ity
.c
www.citystudentsgroup.com
om
.c
up
ro
sg
nt
u de
st
ity
.c
w
w
w
www.citystudentsgroup.com
om
.c
up
ro
sg
nt
u de
st
ity
.c
w
w
w
www.citystudentsgroup.com
om
.c
up
ro
sg
nt
u de
st
ity
.c
w
w
w
www.citystudentsgroup.com
om
.c
up
ro
sg
nt
u de
st
ity
.c
w
w
w
www.citystudentsgroup.com
om
.c
up
ro
sg
nt
u de
st
ity
.c
w
w
w
www.citystudentsgroup.com
om
.c
up
ro
sg
nt
u de
st
ity
.c
w
w
w
www.citystudentsgroup.com
om
.c
up
ro
sg
nt
u de
st
ity
.c
w
w
w
www.citystudentsgroup.com
om
.c
up
ro
sg
nt
u de
st
ity
.c
w
w
w
www.citystudentsgroup.com
om
.c
up
ro
sg
nt
u de
st
ity
.c
w
w
w
www.citystudentsgroup.com
om
.c
up
ro
sg
nt
u de
st
ity
.c
w
w
w
www.citystudentsgroup.com
om
.c
up
ro
sg
nt
u de
st
ity
.c
w
w
w
www.citystudentsgroup.com
om
.c
up
ro
sg
nt
u de
st
ity
.c
w
w
w
www.citystudentsgroup.com
om
.c
up
ro
sg
nt
u de
st
ity
.c
w
w
w
www.citystudentsgroup.com
om
.c
up
ro
sg
nt
u de
st
ity
.c
w
w
w
www.citystudentsgroup.com
om
.c
up
ro
sg
nt
u de
st
ity
.c
w
w
w
www.citystudentsgroup.com
om
.c
up
ro
sg
nt
u de
st
ity
.c
w
w
w
www.citystudentsgroup.com
om
.c
up
ro
sg
nt
u de
st
ity
.c
w
w
w
www.citystudentsgroup.com
om
.c
up
ro
sg
nt
u de
st
ity
.c
w
w
w
www.citystudentsgroup.com
om
.c
up
ro
sg
nt
u de
st
ity
.c
w
w
w
www.citystudentsgroup.com
om
.c
up
ro
sg
nt
u de
st
ity
.c
w
w
w
www.citystudentsgroup.com
om
.c
up
ro
sg
nt
u de
st
ity
.c
w
w
w
www.citystudentsgroup.com
om
.c
up
ro
sg
nt
u de
st
ity
.c
w
w
w
www.citystudentsgroup.com
om
.c
up
ro
sg
nt
u de
st
ity
.c
w
w
w
www.citystudentsgroup.com
om
.c
up
ro
sg
nt
u de
st
ity
.c
w
w
w
www.citystudentsgroup.com
om
.c
up
ro
sg
nt
u de
st
ity
.c
w
w
w
www.citystudentsgroup.com
om
.c
up
ro
sg
nt
u de
st
ity
.c
w
w
w
www.citystudentsgroup.com
om
.c
up
ro
sg
nt
u de
st
ity
.c
w
w
w
www.citystudentsgroup.com
om
.c
up
ro
sg
nt
u de
st
ity
.c
w
w
w
www.citystudentsgroup.com
om
.c
up
ro
sg
nt
u de
st
ity
.c
w
w
w
www.citystudentsgroup.com
om
.c
up
ro
sg
nt
u de
st
ity
.c
w
w
w
www.citystudentsgroup.com
om
.c
up
ro
sg
nt
u de
st
ity
.c
w
w
w
www.citystudentsgroup.com
om
.c
up
ro
sg
nt
u de
st
ity
.c
w
w
w
www.citystudentsgroup.com
om
.c
up
ro
sg
nt
u de
st
ity
.c
w
w
w
www.citystudentsgroup.com
om
.c
up
ro
sg
nt
u de
st
ity
.c
w
w
w
www.citystudentsgroup.com
om
.c
up
ro
sg
nt
u de
st
ity
.c
w
w
w
www.citystudentsgroup.com
om
.c
up
ro
sg
nt
u de
st
ity
.c
w
w
w
www.citystudentsgroup.com
om
.c
up
ro
sg
nt
u de
st
ity
.c
w
w
w
www.citystudentsgroup.com
om
.c
up
ro
sg
nt
u de
st
ity
.c
w
w
w
www.citystudentsgroup.com
om
.c
up
ro
sg
nt
u de
st
ity
.c
w
w
w
www.citystudentsgroup.com
om
.c
up
ro
sg
nt
u de
st
ity
.c
w
w
w
www.citystudentsgroup.com
om
.c
up
ro
sg
nt
u de
st
ity
.c
w
w
w
www.citystudentsgroup.com
om
.c
up
ro
sg
nt
u de
st
ity
.c
w
w
w
www.citystudentsgroup.com
om
.c
up
ro
sg
nt
u de
st
ity
.c
w
w
w
www.citystudentsgroup.com
om
.c
up
ro
sg
nt
u de
st
ity
.c
w
w
w
www.citystudentsgroup.com
om
.c
up
ro
sg
nt
u de
st
ity
.c
w
w
w
www.citystudentsgroup.com
om
.c
up
ro
sg
nt
u de
st
ity
.c
w
w
w
www.citystudentsgroup.com
om
.c
up
ro
sg
nt
u de
st
ity
.c
w
w
w
www.citystudentsgroup.com
om
.c
up
ro
sg
nt
u de
st
ity
.c
w
w
w
www.citystudentsgroup.com
om
.c
up
ro
sg
nt
u de
st
ity
.c
w
w
w
www.citystudentsgroup.com
om
.c
up
ro
sg
nt
u de
st
ity
.c
w
w
w
www.citystudentsgroup.com
om
.c
up
ro
sg
nt
u de
st
ity
.c
w
w
w
www.citystudentsgroup.com
om
.c
up
ro
sg
nt
u de
st
ity
.c
w
w
w
www.citystudentsgroup.com
om
.c
up
ro
sg
nt
u de
st
ity
.c
w
w
w
www.citystudentsgroup.com
om
.c
up
ro
sg
nt
u de
st
ity
.c
w
w
w
www.citystudentsgroup.com
om
.c
up
ro
sg
nt
u de
st
ity
.c
w
w
w
www.citystudentsgroup.com
om
.c
up
ro
sg
nt
u de
st
ity
.c
w
w
w
www.citystudentsgroup.com
om
.c
up
ro
sg
nt
u de
st
ity
.c
w
w
w
www.citystudentsgroup.com
om
.c
up
ro
sg
nt
u de
st
ity
.c
w
w
w
www.citystudentsgroup.com
om
.c
up
ro
sg
nt
u de
st
ity
.c
w
w
w
www.citystudentsgroup.com
om
.c
up
ro
sg
nt
u de
st
ity
.c
w
w
w
www.citystudentsgroup.com
om
.c
up
ro
sg
nt
u de
st
ity
.c
w
w
w
www.citystudentsgroup.com
om
.c
up
ro
sg
nt
u de
st
ity
.c
w
w
w
www.citystudentsgroup.com
om
.c
up
ro
sg
nt
u de
st
ity
.c
w
w
w
www.citystudentsgroup.com
om
.c
up
ro
sg
nt
u de
st
ity
.c
w
w
w
www.citystudentsgroup.com
om
.c
up
ro
sg
nt
u de
st
ity
.c
w
w
w
www.citystudentsgroup.com
om
.c
up
ro
sg
nt
u de
st
ity
.c
w
w
w
www.citystudentsgroup.com
om
.c
up
ro
sg
nt
u de
st
ity
.c
w
w
w
www.citystudentsgroup.com
om
.c
up
ro
sg
nt
u de
st
ity
.c
w
w
w
www.citystudentsgroup.com
om
.c
up
ro
sg
nt
u de
st
ity
.c
w
w
w
www.citystudentsgroup.com
om
.c
up
ro
sg
nt
u de
st
ity
.c
w
w
w
www.citystudentsgroup.com
om
To Download More Notes
.c
up
Visit
ro
www.citystudentsgroup.com
sg
nt
u de
st
ity
.c
w
w
w
www.citystudentsgroup.com