Dear students get fully solved assignments
Send your semester & Specialization name to our mail id :
“ help.mbaassignments@gmail.com ”
or
Call us at : 08263069601
(Prefer mailing. Call in emergency )
1. Dear students get fully solved assignments
Send your semester & Specialization name to our mail id :
help.mbaassignments@gmail.com
or
call us at : 08263069601
[ WINTER, 2015 ] ASSIGNMENT
PROGRAM Master of Science in Information Technology(MSc IT)Revised
Fall 2011
SEMESTER 4
SUBJECT CODE & NAME MIT4021– C# and .Net
CREDITS 4
BK ID B1187
MARKS 60
Note: Answer all the questions.
Question.1. Explain .NET framework class library.
Answer:
The .Net Framework class library (FCL) provides the core functionality of .Net Framework
architecture .The .NetFrameworkClassLibrary(FCL) includesahuge collection of reusable classes ,
interfaces,andvalue typesthatexpedite andoptimize the development process and provide access
to system functionality.
The .NetFrameworkclasslibrary(FCL) organizedinahierarchical tree structure anditis divided into
Namespaces. Namespaces is a logical grouping of types for the
Question.2. Explain the steps to execute C# programs using visual
studio IDE.
Answer:There are different ways for this:
1.Building C# Applications Using csc.exe
While itistrue thatyou might never decide to build a large-scale application using nothing but the
C# command-line compiler, it is important to understand the basics of how to compile your code
files by hand.
2. 2.Building .NET Applications Using Notepad++
Question.3. Explain the following in context of methods in C# with
the help of examples:
Answer:For writing a nested function in C#, we would make use of delegates and anonymous
functions. A delegate is nothing but a "function pointer". And an anonymous function is a
function/method without a name. Below, we are declaring a delegate which will point to an
anonymous function.
// Declare a delegate which will point to different anonymous methods.
public delegate long FactorialDelegate(long n);
Question.4. What do you mean by members in C#? Explain constant
members and read only members also explain properties in C#.
Answer: Classes and structs have members that represent their data and behavior. A class's
membersinclude all the membersdeclaredinthe class, alongwithall members(exceptconstructors
and destructors) declaredinall classesinitsinheritance hierarchy. Private members in base classes
are inherited but are not accessible from derived classes.
The following table lists the kinds of members a class or struct may contain:
Question.5. How to handle exception in C#. Explain the syntax with
an example.
Answer:Exceptionsare unforeseenerrorsthathappen in your programs. Most of the time, you can,
and should, detect and handle program errors in your code. For example, validating user input,
checkingfornull objects,andverifyingthe values returned from methods are what you expect, are
all examples of good standard error handling that you should be doing all the time.
However,there are times whenyoudon'tknow if anerror will occur. For example, you can't predict
when you'll receive a file I/O error, run out of system
Question.6. Explain console input and output
3. Answer:Dennis Ritchie develop the C language without compromising to its compact feature. To
attaincompactnesshe deliberatelynotprovidedeverythingrelatedtoinputoutputinthe definition
of the language.SoC language doesn’t contain any code to receive data from keyboard and send it
on the screen. Then how are we using scanf() and printf()
Dear students get fully solved assignments
Send your semester & Specialization name to our mail id :
help.mbaassignments@gmail.com
or
call us at : 08263069601