SlideShare a Scribd company logo
Dear students get fully solved assignments
Send your semester & Specialization name to our mail id :
“ help.mbaassignments@gmail.com ”
or
Call us at : 08263069601
[ FALL 2015 ] ASSIGNMENT
PROGRAM BSc IT
SEMESTER 5th
SUBJECT CODE & NAME BT8903, C# Programming
CREDITS 4
BK ID B1187
MARKS 60
Note: Answer all questions. Kindly note that answers for 10 marks questions should be
approximately of 400 words. Each question is followed by evaluation scheme.
Question. 1. Explain the following related to .NET:
1. The Microsoft Intermediate Language ("MSIL" or "IL")
Answer:MSIL stands for Microsoft Intermediate Language. We can call it as Intermediate Language
(IL) or Common Intermediate Language (CIL). During the compile time, the compiler convert the
source code intoMicrosoft Intermediate Language (MSIL) .Microsoft Intermediate Language (MSIL)
isa CPU-independentsetof instructionsthatcanbe efficientlyconverted to the native code. During
the runtime the Common Language Runtime (CLR)'s Just In Time (JIT) compiler converts the
Microsoft Intermediate
2. The Common Type System (CTS)
Answer:InMicrosoft's.NET Framework,the CommonType System (CTS) is a standard that specifies
how type definitions and specific values of types are represented in computer memory. It is
intendedtoallowprogramswrittenindifferentprogramminglanguagestoeasilyshare information.
As used in programming
3. .NET Framework Base Classes
Answer:The .NETFrameworkincludesclasses,interfaces,andvalue typesthatexpediteandoptimize
the development process and provide access to system functionality. To facilitate interoperability
between languages, most .NET
Question. 2. Write a note on the following :
1. Mutable strings
Answer:Mutable and immutable are English words meaning "can change" and "cannot change"
respectively. The meaning of the words is the same in the IT context; i.e.
 a mutable string can be changed, and
 an immutable string cannot be changed.
Question. 3. Explain the following in context of methods in C# withexamples:
1. Invoking methods
Answer:Reflectionprovides a means for invoking methods on a class. Typically, this would only be
necessary if it is not possible to cast an instance of the class to the desired type in non-reflective
code.Methodsare invokedwithjava.lang.reflect.Method.invoke(). The first argument is the object
instance onwhichthisparticularmethodisto be invoked.(If the methodisstatic,the first argument
should be null.) Subsequent arguments are the method's parameters. If the underlying method
throws an exception, it will be wrapped by
Question. 4.Define members. Explain constant members and read onlymembers.
Answer:Constant and ReadOnly keyword are used to make a field constant which value cannot be
modified.Statickeywordisusedtomake membersstaticthat can be shared by all the class objects.
In this article, I am going to explain the difference among these three.
Constant
Constantfieldsor local variables must be assigned a value at the time of declaration and after that
they cannot be modified. By default
Question. 5. Define and explain the class visibility and class members’visibility.
Answer:Accesslevelmodifiers determine whetherotherclassescanuse a particularfieldorinvoke a
particular method. There are two levels of access control:
At the top level—public, or package-private (no explicit modifier).
At the member level—public, private, protected, or package-private (no explicit modifier).
A class may be declared with the modifier public, in which case that class is visible to all classes
everywhere.If aclasshas no modifier(the default,alsoknown as package-private), it is visible only
withinitsownpackage (packagesare named groups of related classes — you will learn about them
in a later lesson.)
Question. 6. Briefly describe the concept of delegates in C#.
Answer:A delegate(known as function pointer in C/C++) is a references type that invokes
single/multiple method(s) through the delegate instance. It holds a reference of the methods.
Delegate types are sealed and immutable type.
Types of Delegates
There are three types of delegates that can be used in C#.
Dear students get fully solved assignments
Send your semester & Specialization name to our mail id :
“ help.mbaassignments@gmail.com ”
or
Call us at : 08263069601

More Related Content

What's hot

Bt0074, oops with java
Bt0074, oops with javaBt0074, oops with java
Bt0074, oops with java
smumbahelp
 
Bt0074, oops with java
Bt0074, oops with javaBt0074, oops with java
Bt0074, oops with java
smumbahelp
 
c# keywords, identifiers and Naming Conventions
c# keywords, identifiers and Naming Conventionsc# keywords, identifiers and Naming Conventions
c# keywords, identifiers and Naming Conventions
Micheal Ogundero
 
Mca2030 object oriented programming – c++
Mca2030  object oriented programming – c++Mca2030  object oriented programming – c++
Mca2030 object oriented programming – c++
smumbahelp
 
Bca5020 visual programming
Bca5020  visual programmingBca5020  visual programming
Bca5020 visual programming
smumbahelp
 
Bca5020 visual programming
Bca5020  visual programmingBca5020  visual programming
Bca5020 visual programming
smumbahelp
 
Cat 2013 day 11 analysis & Result Details
Cat 2013 day 11 analysis & Result DetailsCat 2013 day 11 analysis & Result Details
Cat 2013 day 11 analysis & Result Detailssakshij91
 
Smu mscit sem 1 winter 2014 assignments
Smu mscit sem 1 winter 2014 assignmentsSmu mscit sem 1 winter 2014 assignments
Smu mscit sem 1 winter 2014 assignments
smumbahelp
 
Abstract Class Presentation
Abstract Class PresentationAbstract Class Presentation
Abstract Class Presentation
tigerwarn
 
SMU BCA SPRING 2014 SOLVED ASSIGNMENTS SEM-2
SMU BCA SPRING 2014  SOLVED ASSIGNMENTS SEM-2SMU BCA SPRING 2014  SOLVED ASSIGNMENTS SEM-2
SMU BCA SPRING 2014 SOLVED ASSIGNMENTS SEM-2
smumbahelp
 
Sem 4 bscit summer 2014 solved assignments
Sem 4 bscit summer 2014 solved assignmentsSem 4 bscit summer 2014 solved assignments
Sem 4 bscit summer 2014 solved assignments
smumbahelp
 
Java presentation
Java presentationJava presentation
Java presentation
Akteruzzaman .
 
Smu bca-sem-2-fall-2015- solved - assignments
Smu bca-sem-2-fall-2015- solved - assignmentsSmu bca-sem-2-fall-2015- solved - assignments
Smu bca-sem-2-fall-2015- solved - assignments
smumbahelp
 
Nondeterministic finite automaton
Nondeterministic finite automatonNondeterministic finite automaton
Nondeterministic finite automaton
Dr. ABHISHEK K PANDEY
 
8 abstract classes and interfaces
8   abstract classes and interfaces 8   abstract classes and interfaces
8 abstract classes and interfaces Tuan Ngo
 
SMU MSCIT Sem 1 Winter 2014 Assignments
SMU MSCIT Sem 1 Winter 2014 AssignmentsSMU MSCIT Sem 1 Winter 2014 Assignments
SMU MSCIT Sem 1 Winter 2014 Assignments
solved_assignments
 
Oops presentation java
Oops presentation javaOops presentation java
Oops presentation java
JayasankarPR2
 
Smu msc it spring 2014 solved assignments
Smu msc it spring 2014 solved assignmentsSmu msc it spring 2014 solved assignments
Smu msc it spring 2014 solved assignments
smumbahelp
 

What's hot (20)

Bt0074, oops with java
Bt0074, oops with javaBt0074, oops with java
Bt0074, oops with java
 
Bt0074, oops with java
Bt0074, oops with javaBt0074, oops with java
Bt0074, oops with java
 
c# keywords, identifiers and Naming Conventions
c# keywords, identifiers and Naming Conventionsc# keywords, identifiers and Naming Conventions
c# keywords, identifiers and Naming Conventions
 
Mca2030 object oriented programming – c++
Mca2030  object oriented programming – c++Mca2030  object oriented programming – c++
Mca2030 object oriented programming – c++
 
C# question answers
C# question answersC# question answers
C# question answers
 
Bca5020 visual programming
Bca5020  visual programmingBca5020  visual programming
Bca5020 visual programming
 
Bca5020 visual programming
Bca5020  visual programmingBca5020  visual programming
Bca5020 visual programming
 
Cat 2013 day 11 analysis & Result Details
Cat 2013 day 11 analysis & Result DetailsCat 2013 day 11 analysis & Result Details
Cat 2013 day 11 analysis & Result Details
 
Smu mscit sem 1 winter 2014 assignments
Smu mscit sem 1 winter 2014 assignmentsSmu mscit sem 1 winter 2014 assignments
Smu mscit sem 1 winter 2014 assignments
 
Abstract Class Presentation
Abstract Class PresentationAbstract Class Presentation
Abstract Class Presentation
 
SMU BCA SPRING 2014 SOLVED ASSIGNMENTS SEM-2
SMU BCA SPRING 2014  SOLVED ASSIGNMENTS SEM-2SMU BCA SPRING 2014  SOLVED ASSIGNMENTS SEM-2
SMU BCA SPRING 2014 SOLVED ASSIGNMENTS SEM-2
 
Sem 4 bscit summer 2014 solved assignments
Sem 4 bscit summer 2014 solved assignmentsSem 4 bscit summer 2014 solved assignments
Sem 4 bscit summer 2014 solved assignments
 
Java presentation
Java presentationJava presentation
Java presentation
 
Smu bca-sem-2-fall-2015- solved - assignments
Smu bca-sem-2-fall-2015- solved - assignmentsSmu bca-sem-2-fall-2015- solved - assignments
Smu bca-sem-2-fall-2015- solved - assignments
 
Nondeterministic finite automaton
Nondeterministic finite automatonNondeterministic finite automaton
Nondeterministic finite automaton
 
8 abstract classes and interfaces
8   abstract classes and interfaces 8   abstract classes and interfaces
8 abstract classes and interfaces
 
SMU MSCIT Sem 1 Winter 2014 Assignments
SMU MSCIT Sem 1 Winter 2014 AssignmentsSMU MSCIT Sem 1 Winter 2014 Assignments
SMU MSCIT Sem 1 Winter 2014 Assignments
 
Oops presentation java
Oops presentation javaOops presentation java
Oops presentation java
 
Interfaces
InterfacesInterfaces
Interfaces
 
Smu msc it spring 2014 solved assignments
Smu msc it spring 2014 solved assignmentsSmu msc it spring 2014 solved assignments
Smu msc it spring 2014 solved assignments
 

Similar to Bt8903,c# programming

Bt8903, c# programming
Bt8903, c# programmingBt8903, c# programming
Bt8903, c# programmingsmumbahelp
 
Mit4021–%20 c# and .net
Mit4021–%20 c# and .netMit4021–%20 c# and .net
Mit4021–%20 c# and .net
smumbahelp
 
Mi0041 java and web design
Mi0041  java and web designMi0041  java and web design
Mi0041 java and web design
smumbahelp
 
Mi0041 java and web design
Mi0041  java and web designMi0041  java and web design
Mi0041 java and web design
Study Stuff
 
Mi0041 java and web design
Mi0041  java and web designMi0041  java and web design
Mi0041 java and web design
smumbahelp
 
Mi0041 java and web design
Mi0041  java and web designMi0041  java and web design
Mi0041 java and web design
smumbahelp
 
Mit4021 c# and .net
Mit4021   c# and .netMit4021   c# and .net
Mit4021 c# and .net
smumbahelp
 
C#
C#C#
OOP interview questions & answers.
OOP interview questions & answers.OOP interview questions & answers.
OOP interview questions & answers.
Questpond
 
Object Oriented Principles
Object Oriented PrinciplesObject Oriented Principles
Object Oriented Principles
Sujit Majety
 
Mca 4030 programming in java
Mca 4030   programming in javaMca 4030   programming in java
Mca 4030 programming in java
smumbahelp
 
Top 20 c# interview Question and answers
Top 20 c# interview Question and answersTop 20 c# interview Question and answers
Top 20 c# interview Question and answers
w3asp dotnet
 
C++ interview question
C++ interview questionC++ interview question
C++ interview question
Durgesh Tripathi
 
Bca winter 2013 2nd sem
Bca winter 2013 2nd semBca winter 2013 2nd sem
Bca winter 2013 2nd sem
smumbahelp
 
Nested class in java
Nested class in javaNested class in java
Nested class in java
ChiradipBhattacharya
 
Bca1020 programming in c
Bca1020  programming in cBca1020  programming in c
Bca1020 programming in c
smumbahelp
 
C# interview quesions
C# interview quesionsC# interview quesions
C# interview quesions
Shashwat Shriparv
 
EEE oops Vth semester viva questions with answer
EEE oops Vth semester viva questions with answerEEE oops Vth semester viva questions with answer
EEE oops Vth semester viva questions with answer
Jeba Moses
 
Bca1020 programming in c
Bca1020  programming in cBca1020  programming in c
Bca1020 programming in c
smumbahelp
 
Delphi qa
Delphi qaDelphi qa
Delphi qa
sandy14234
 

Similar to Bt8903,c# programming (20)

Bt8903, c# programming
Bt8903, c# programmingBt8903, c# programming
Bt8903, c# programming
 
Mit4021–%20 c# and .net
Mit4021–%20 c# and .netMit4021–%20 c# and .net
Mit4021–%20 c# and .net
 
Mi0041 java and web design
Mi0041  java and web designMi0041  java and web design
Mi0041 java and web design
 
Mi0041 java and web design
Mi0041  java and web designMi0041  java and web design
Mi0041 java and web design
 
Mi0041 java and web design
Mi0041  java and web designMi0041  java and web design
Mi0041 java and web design
 
Mi0041 java and web design
Mi0041  java and web designMi0041  java and web design
Mi0041 java and web design
 
Mit4021 c# and .net
Mit4021   c# and .netMit4021   c# and .net
Mit4021 c# and .net
 
C#
C#C#
C#
 
OOP interview questions & answers.
OOP interview questions & answers.OOP interview questions & answers.
OOP interview questions & answers.
 
Object Oriented Principles
Object Oriented PrinciplesObject Oriented Principles
Object Oriented Principles
 
Mca 4030 programming in java
Mca 4030   programming in javaMca 4030   programming in java
Mca 4030 programming in java
 
Top 20 c# interview Question and answers
Top 20 c# interview Question and answersTop 20 c# interview Question and answers
Top 20 c# interview Question and answers
 
C++ interview question
C++ interview questionC++ interview question
C++ interview question
 
Bca winter 2013 2nd sem
Bca winter 2013 2nd semBca winter 2013 2nd sem
Bca winter 2013 2nd sem
 
Nested class in java
Nested class in javaNested class in java
Nested class in java
 
Bca1020 programming in c
Bca1020  programming in cBca1020  programming in c
Bca1020 programming in c
 
C# interview quesions
C# interview quesionsC# interview quesions
C# interview quesions
 
EEE oops Vth semester viva questions with answer
EEE oops Vth semester viva questions with answerEEE oops Vth semester viva questions with answer
EEE oops Vth semester viva questions with answer
 
Bca1020 programming in c
Bca1020  programming in cBca1020  programming in c
Bca1020 programming in c
 
Delphi qa
Delphi qaDelphi qa
Delphi qa
 

Recently uploaded

Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
Thiyagu K
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.
Ashokrao Mane college of Pharmacy Peth-Vadgaon
 
678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf
CarlosHernanMontoyab2
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
Jean Carlos Nunes Paixão
 
The Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptxThe Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptx
DhatriParmar
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
Special education needs
 
Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
Balvir Singh
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
siemaillard
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
Vikramjit Singh
 
Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
EduSkills OECD
 
Acetabularia Information For Class 9 .docx
Acetabularia Information For Class 9  .docxAcetabularia Information For Class 9  .docx
Acetabularia Information For Class 9 .docx
vaibhavrinwa19
 
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th SemesterGuidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Atul Kumar Singh
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
TechSoup
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
DeeptiGupta154
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
Peter Windle
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
Jisc
 
Embracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic ImperativeEmbracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic Imperative
Peter Windle
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
joachimlavalley1
 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
TechSoup
 

Recently uploaded (20)

Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
 
Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.
 
678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
 
The Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptxThe Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptx
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
 
Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
 
Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
 
Acetabularia Information For Class 9 .docx
Acetabularia Information For Class 9  .docxAcetabularia Information For Class 9  .docx
Acetabularia Information For Class 9 .docx
 
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th SemesterGuidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th Semester
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
 
Embracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic ImperativeEmbracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic Imperative
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
 

Bt8903,c# programming

  • 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 [ FALL 2015 ] ASSIGNMENT PROGRAM BSc IT SEMESTER 5th SUBJECT CODE & NAME BT8903, C# Programming CREDITS 4 BK ID B1187 MARKS 60 Note: Answer all questions. Kindly note that answers for 10 marks questions should be approximately of 400 words. Each question is followed by evaluation scheme. Question. 1. Explain the following related to .NET: 1. The Microsoft Intermediate Language ("MSIL" or "IL") Answer:MSIL stands for Microsoft Intermediate Language. We can call it as Intermediate Language (IL) or Common Intermediate Language (CIL). During the compile time, the compiler convert the source code intoMicrosoft Intermediate Language (MSIL) .Microsoft Intermediate Language (MSIL) isa CPU-independentsetof instructionsthatcanbe efficientlyconverted to the native code. During the runtime the Common Language Runtime (CLR)'s Just In Time (JIT) compiler converts the Microsoft Intermediate 2. The Common Type System (CTS) Answer:InMicrosoft's.NET Framework,the CommonType System (CTS) is a standard that specifies how type definitions and specific values of types are represented in computer memory. It is intendedtoallowprogramswrittenindifferentprogramminglanguagestoeasilyshare information. As used in programming 3. .NET Framework Base Classes
  • 2. Answer:The .NETFrameworkincludesclasses,interfaces,andvalue typesthatexpediteandoptimize the development process and provide access to system functionality. To facilitate interoperability between languages, most .NET Question. 2. Write a note on the following : 1. Mutable strings Answer:Mutable and immutable are English words meaning "can change" and "cannot change" respectively. The meaning of the words is the same in the IT context; i.e.  a mutable string can be changed, and  an immutable string cannot be changed. Question. 3. Explain the following in context of methods in C# withexamples: 1. Invoking methods Answer:Reflectionprovides a means for invoking methods on a class. Typically, this would only be necessary if it is not possible to cast an instance of the class to the desired type in non-reflective code.Methodsare invokedwithjava.lang.reflect.Method.invoke(). The first argument is the object instance onwhichthisparticularmethodisto be invoked.(If the methodisstatic,the first argument should be null.) Subsequent arguments are the method's parameters. If the underlying method throws an exception, it will be wrapped by Question. 4.Define members. Explain constant members and read onlymembers. Answer:Constant and ReadOnly keyword are used to make a field constant which value cannot be modified.Statickeywordisusedtomake membersstaticthat can be shared by all the class objects. In this article, I am going to explain the difference among these three. Constant Constantfieldsor local variables must be assigned a value at the time of declaration and after that they cannot be modified. By default Question. 5. Define and explain the class visibility and class members’visibility. Answer:Accesslevelmodifiers determine whetherotherclassescanuse a particularfieldorinvoke a particular method. There are two levels of access control: At the top level—public, or package-private (no explicit modifier).
  • 3. At the member level—public, private, protected, or package-private (no explicit modifier). A class may be declared with the modifier public, in which case that class is visible to all classes everywhere.If aclasshas no modifier(the default,alsoknown as package-private), it is visible only withinitsownpackage (packagesare named groups of related classes — you will learn about them in a later lesson.) Question. 6. Briefly describe the concept of delegates in C#. Answer:A delegate(known as function pointer in C/C++) is a references type that invokes single/multiple method(s) through the delegate instance. It holds a reference of the methods. Delegate types are sealed and immutable type. Types of Delegates There are three types of delegates that can be used in C#. Dear students get fully solved assignments Send your semester & Specialization name to our mail id : “ help.mbaassignments@gmail.com ” or Call us at : 08263069601