Embed presentation
Download to read offline
![Answerkey:
I.Choose the bestanswer:
1.a)Relational
2.d)Explicittype conversion.
3.c)SealedClass
4.c)returnvalue
5.a)AbstractClass
II.Answerthe followingQuestionsinone ortwosentences:
1.Data typesinC#:
Int,float,char,double,decimal,uint,short,[any4]
2.Use Of ‘alias’:
3.Difference betweenbreakandcontinue:
4.Typesof errors:
Compile time errors.
Run time errors.
5.Syntax for Elseif Ladder:
If(Condition1)
{
//statements
}
Else if(Condition2)
{
//statements
}
Else
{](https://image.slidesharecdn.com/answerkey1-150731070814-lva1-app6891/75/Answer-key1fer-1-2048.jpg)


This document contains an answer key for a C# quiz. It includes multiple choice questions with answers, short questions answered in 1-2 sentences, and longer questions about C# operators and data types. Specifically, it covers relational operators, explicit type conversion, sealed classes, return values, abstract classes, C# data types like int and float, the use of 'alias', the difference between break and continue statements, types of errors at compile-time and run-time, and the syntax for an else if ladder in C#.
![Answerkey:
I.Choose the bestanswer:
1.a)Relational
2.d)Explicittype conversion.
3.c)SealedClass
4.c)returnvalue
5.a)AbstractClass
II.Answerthe followingQuestionsinone ortwosentences:
1.Data typesinC#:
Int,float,char,double,decimal,uint,short,[any4]
2.Use Of ‘alias’:
3.Difference betweenbreakandcontinue:
4.Typesof errors:
Compile time errors.
Run time errors.
5.Syntax for Elseif Ladder:
If(Condition1)
{
//statements
}
Else if(Condition2)
{
//statements
}
Else
{](https://image.slidesharecdn.com/answerkey1-150731070814-lva1-app6891/75/Answer-key1fer-1-2048.jpg)
