Вы находитесь на странице: 1из 1

C# Test - 3

Part A 25*2=50 1. What is namespace? 2. Define streams? 3. Can I use exception in C#? 4. Define Boxing & Un oxing? !. What is ref"ection? #. What is c"ass factor$? %. What is &xception han'"ing? (. What is a 'e"egate? ). What is mu"ti cast 'e"egate? 1*.Difference et+een namespace an' assem "$? 11.What are ,a"ue t$pes an' reference t$pes? 12.Difference et+een s$stem exceptions an' app"ication exceptions? 13.What is assem "$ name an' name space? 14.Which are the important namespaces 'uring "oca"i-ation an' g"o a"i-ation? 1!.What is fi"e stream? 1#.Different t$pes of fi"e streams? 1%.What are the uses of streams? 1(.What are properties a,ai"a "e in see. origin/0? 1).What are the 1i"e 2o'es are a,ai"a "e in c#? 2*.What is stream rea'er an' 3tream Writer? 21.What are the t$pes of errors? 22.What is a mu"ti cast 'e"egates? 23.What is the main use of 'e"egates in C#? 24.4ist 'o+n the common"$ use' t$pes of exceptions in .5et? 2!.What are the t$pes a,ai"a "e in

&xception 6an'"ing? &xp"ain it. Part B 5*10=50

1. Write a program for fi"e rea' & Write? 2. Write a program for fi"e rea' an' appen'? 3. Write a program for 3$stem &xception? 4. Write a program for User Define' &xception? !. &xp"ain namespaces +ith examp"e? #. &xp"ain De"egates & 2u"ticast De"egate +ith examp"e? %. Write a program for mu"tip"e namespaces? (. Write 7rogram for 8ef"ection & &xp"ain? ). Write a program for comman' "ine argument in 3treams? 1*.&xp"ain 5este' 9r$ catch "oc. +ith an examp"e?

Вам также может понравиться