Professional Documents
Culture Documents
C Sharp Jun 2011
C Sharp Jun 2011
USN
Max. Marks:100
PART
ci
la.
b.
(n
c.
-A
(10 Marks)
(04 Marks)
(06 Marks)
C)
c)
L
E9
d9
-o
;,'
bo"
doo
'=+
c.l
.=
cBs
b
()tr
-co
o;
9.0
3s
6=
bu
do
o.o
bOc
2a.
b
c.
3a.
b.
c.
4a.
b.
c.
(06 Marks)
Discuss the difference between value type and reference types.
Explain how CSC . exe compiler is used to build C# application. Explain any five flags with
(06 Marks)
appropriate examples.
(08 Marks)
Write a C# program to demoustrate use of Static and Read- only variables.
(06 Marks)
Explain boxing and unboxing with examples.
Explain the functions of system object class. Give overriden definition for Tostring( ) and
(08 Marks)
Equals( ).
an
Explain the following terms, with
example, with reference to C #.
(06 Marks)
i) foreach ii) params iii) verbatim.
(06 Marks)
(08 Marls)
(06 Marks)
-o
>!
a6
or
PART
6rJ
o'i
a.
b.
c.
to
alE
a.
9=
^=
tro.
3fi
^.=
>\q
ooo
trbo
0=
*o
tr>
=o
o
(..)
<
-.1 6i
6.)
b.
c.
a.
b.
c.
(05 Marks)
(07 Marks)
(08 Marks)
(10 Marks)
(05 Marks)
(05 Marks)
(05 Marks)
:
Give a small
(10 Marks)
(05 Marks)
Z
o
o.
a.
b.
c
d.
lndexers
Mutable and immutable strings
Enumeration in C#
Garbage collection in . Net.
(20 Marks)
{(*tN.t{(