Get fully
solved assignment. Buy online from website
online store
or
plz drop a mail
with your sub code
we will revert
you within 2-3 hour or immediate
Charges rs 125/subject
if urgent then call us on 08791490301, 08273413412
DRIVE
FALL 2016
PROGRAM
Master of Science in Information Technology(MSc
IT)
SEMESTER
4
SUBJECT CODE & NAME
MIT4021– C# and .Net
1
What is .Net Framework? What is Common Language Runtime (CLR)? List the
services that CLR provide.
Answer: The .NET
Framework is an integral Windows component that supports building and running
the next generation of applications and XML Web services.
The
.NET Framework is designed to fulfill the following objectives:
Ø To provide a
consistent object-oriented programming environment whether object code is
2 List C#
tokens. Explain boxing and unboxing with examples.
Answer: A C# program is
basically a collection of classes. A Class is defined by a set of declaration
statements and methods containing instructions known as executable statements.
These instructions are formed using certain symbols and words according to some
rules
3
Explain different decision making statements used in C#.
Answer: Decision Making Statements
The ‘if’ statement is a powerful decision making
statement and is used to control the flow of execution. It is a two way
decision statement and is used in conjunction with an expression. It takes the
following forms:
1)
4
Explain the following in context of methods in C# with the help of examples:
1.
Invoking methods
2.
Nesting of methods
Answer: Invoking Methods
The process of activating a method is known as invoking or calling.
Amethod once declared in a class can be invoked (executed) on an object ofthat
class.
The invoking is done using the dot operator as shown below:
5
What is an exception? Explain the syntax of exception handling, with suitable
examples.
Answer: An exception is a condition caused by a runtime error in the program.
Whenthe C# compiler encounters an error such as dividing an integer by zero,
itcreates an exception object and throws it.If the exception object is not
caught and handled properly, the computer willdisplay an error message and will
terminate the program. If we want
6
What is formatting string? Explain following formatting with suitable examples:
(I)
Currency formatting
(ii)
Integer formatting
Answer: The Format string contains both static text and
markers, which indicate:
Ø Where the values are to be printed.
Ø How the values are to be formatted.
In its simplest form, a marker is an index
number in curly brackets that indicates which variables of
Get fully
solved assignment. Buy online from website
online store
or
plz drop a mail
with your sub code
we will revert
you within 2-3 hour or immediate
Charges rs 125/subject
if urgent then call us on 08791490301, 08273413412
No comments:
Post a Comment