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
(Prefer mailing. Call in emergency )
[ SPRING, 2016 ] 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 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.
Question.2. Explain the following in context of methods in C# with
the help of examples:
1. Invoking methods
2. Nesting of methods
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.
A) Invoking methods
The keyword static implies that only one instance of the member exists for a class. Static variables
are usedfordefiningconstantsbecause their values can be retrieved by invoking the class without
creating an instance of it. Static variables can be initialized outside the member function or class
definition. You can also
B) Nesting of methods
Nesting of Methods
 If a methodinjavacalls a method in the same class it is called Nesting of methods. When a
method calls the method in the same class dot(.) operator is not needed.
 A method can call more than
Question.3. 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:
Member
Description
Question.4. 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.
Question.6. Elaborate the steps for the following:
 Creating the show.aspx page
Answer : To add a page with code separation to the Web site
1. Close the Default.aspx page. To do this, right-click the tab with the file name in it and then
click Close.
2. In Solution Explorer, right-click the Web site (for example, C:BasicWebSite) and then
click Add New Item.
3. Under Installed Templates, click Visual Basic or Visual C# and then select Web Form from
the list.
 Adding code to the show.aspx page
Answer: An embeddedcode block isservercode thatexecutesduringthe page'srenderphase.The
code in the blockcan execute programmingstatementsandcall functionsinthe currentpage class.
The followingcode exampleshowsanASP.NETWebFormspage withan embeddedcode blockthat
displaysthe resultsof aloop.
C#
VB
<%@ Page Language="C#" %>
<html>
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 )

More Related Content

Viewers also liked

Summerfuel finance 2016 class 57 13
Summerfuel finance  2016 class  57 13Summerfuel finance  2016 class  57 13
Summerfuel finance 2016 class 57 13
Kevin McWilliams
 
Newsletter July 2016 pdf
Newsletter July 2016 pdfNewsletter July 2016 pdf
Newsletter July 2016 pdf
Jemma Chambers
 
урок 24 поняття презентації. комп’ютерна презентація, її об’єкти
урок 24 поняття презентації. комп’ютерна презентація, її об’єктиурок 24 поняття презентації. комп’ютерна презентація, її об’єкти
урок 24 поняття презентації. комп’ютерна презентація, її об’єкти
Сокальська ЗШ І-ІІІ ступенів №2
 
Schumpeter Society Presentation - Montreal, July 2016
Schumpeter Society Presentation -  Montreal, July 2016 Schumpeter Society Presentation -  Montreal, July 2016
Schumpeter Society Presentation - Montreal, July 2016
John Chisholm
 
LNCS_CSCWD06_KC_Recommendation
LNCS_CSCWD06_KC_RecommendationLNCS_CSCWD06_KC_Recommendation
LNCS_CSCWD06_KC_Recommendation
Vinícios Pereira
 
Cartilha clientes tvv
Cartilha clientes tvvCartilha clientes tvv
Cartilha clientes tvv
Acácio Pereira de Macêdo Neto
 
家庭 Jiātíng
家庭 Jiātíng家庭 Jiātíng
It Organization Management : Revisiting Centralization
It Organization Management : Revisiting CentralizationIt Organization Management : Revisiting Centralization
It Organization Management : Revisiting Centralization
IT-Toolkits.org
 
Bt8902 e-commerce-de
Bt8902 e-commerce-deBt8902 e-commerce-de
Bt8902 e-commerce-de
smumbahelp
 
La ilegalidad de software
La ilegalidad  de softwareLa ilegalidad  de software
La ilegalidad de software
Emily Tayakee Posada
 
CV Tina Schumann07182016
CV Tina Schumann07182016CV Tina Schumann07182016
CV Tina Schumann07182016
Tina Schumann, MFA
 
April 2011 Calendar of Events LEADING To LIES About KILLING OF OSAMA BIN LA...
April 2011   Calendar of Events LEADING To LIES About KILLING OF OSAMA BIN LA...April 2011   Calendar of Events LEADING To LIES About KILLING OF OSAMA BIN LA...
April 2011 Calendar of Events LEADING To LIES About KILLING OF OSAMA BIN LA...VogelDenise
 
Curso adm 364 emergencias y crisis, manejo de conductas y autocontrol
Curso adm 364   emergencias y crisis, manejo de  conductas y autocontrolCurso adm 364   emergencias y crisis, manejo de  conductas y autocontrol
Curso adm 364 emergencias y crisis, manejo de conductas y autocontrol
Procasecapacita
 

Viewers also liked (13)

Summerfuel finance 2016 class 57 13
Summerfuel finance  2016 class  57 13Summerfuel finance  2016 class  57 13
Summerfuel finance 2016 class 57 13
 
Newsletter July 2016 pdf
Newsletter July 2016 pdfNewsletter July 2016 pdf
Newsletter July 2016 pdf
 
урок 24 поняття презентації. комп’ютерна презентація, її об’єкти
урок 24 поняття презентації. комп’ютерна презентація, її об’єктиурок 24 поняття презентації. комп’ютерна презентація, її об’єкти
урок 24 поняття презентації. комп’ютерна презентація, її об’єкти
 
Schumpeter Society Presentation - Montreal, July 2016
Schumpeter Society Presentation -  Montreal, July 2016 Schumpeter Society Presentation -  Montreal, July 2016
Schumpeter Society Presentation - Montreal, July 2016
 
LNCS_CSCWD06_KC_Recommendation
LNCS_CSCWD06_KC_RecommendationLNCS_CSCWD06_KC_Recommendation
LNCS_CSCWD06_KC_Recommendation
 
Cartilha clientes tvv
Cartilha clientes tvvCartilha clientes tvv
Cartilha clientes tvv
 
家庭 Jiātíng
家庭 Jiātíng家庭 Jiātíng
家庭 Jiātíng
 
It Organization Management : Revisiting Centralization
It Organization Management : Revisiting CentralizationIt Organization Management : Revisiting Centralization
It Organization Management : Revisiting Centralization
 
Bt8902 e-commerce-de
Bt8902 e-commerce-deBt8902 e-commerce-de
Bt8902 e-commerce-de
 
La ilegalidad de software
La ilegalidad  de softwareLa ilegalidad  de software
La ilegalidad de software
 
CV Tina Schumann07182016
CV Tina Schumann07182016CV Tina Schumann07182016
CV Tina Schumann07182016
 
April 2011 Calendar of Events LEADING To LIES About KILLING OF OSAMA BIN LA...
April 2011   Calendar of Events LEADING To LIES About KILLING OF OSAMA BIN LA...April 2011   Calendar of Events LEADING To LIES About KILLING OF OSAMA BIN LA...
April 2011 Calendar of Events LEADING To LIES About KILLING OF OSAMA BIN LA...
 
Curso adm 364 emergencias y crisis, manejo de conductas y autocontrol
Curso adm 364   emergencias y crisis, manejo de  conductas y autocontrolCurso adm 364   emergencias y crisis, manejo de  conductas y autocontrol
Curso adm 364 emergencias y crisis, manejo de conductas y autocontrol
 

Similar to Mit4021–%20 c# and .net

Lecture 3.2.4 C pointer to Structure.pptx
Lecture 3.2.4 C pointer to Structure.pptxLecture 3.2.4 C pointer to Structure.pptx
Lecture 3.2.4 C pointer to Structure.pptx
ravi2692kumar
 
Learn C# programming - Program Structure & Basic Syntax
Learn C# programming - Program Structure & Basic SyntaxLearn C# programming - Program Structure & Basic Syntax
Learn C# programming - Program Structure & Basic Syntax
Eng Teong Cheah
 
csharp.docx
csharp.docxcsharp.docx
csharp.docx
LenchoMamudeBaro
 
C# Interview Questions | Edureka
C# Interview Questions | EdurekaC# Interview Questions | Edureka
C# Interview Questions | Edureka
Edureka!
 
Answer all questions and discussions.1.Describe what is an.docx
Answer all questions and discussions.1.Describe what is an.docxAnswer all questions and discussions.1.Describe what is an.docx
Answer all questions and discussions.1.Describe what is an.docx
lisandrai1k
 
Bca1020 programming in c
Bca1020  programming in cBca1020  programming in c
Bca1020 programming in c
smumbahelp
 
C AND DATASTRUCTURES PREPARED BY M V B REDDY
C AND DATASTRUCTURES PREPARED BY M V B REDDYC AND DATASTRUCTURES PREPARED BY M V B REDDY
C AND DATASTRUCTURES PREPARED BY M V B REDDY
Malikireddy Bramhananda Reddy
 
C notes by m v b reddy(gitam)imp notes all units notes 5 unit order
C notes by m v b  reddy(gitam)imp  notes  all units notes  5 unit orderC notes by m v b  reddy(gitam)imp  notes  all units notes  5 unit order
C notes by m v b reddy(gitam)imp notes all units notes 5 unit order
Malikireddy Bramhananda Reddy
 
Object-oriented programming (OOP) with Complete understanding modules
Object-oriented programming (OOP) with Complete understanding modulesObject-oriented programming (OOP) with Complete understanding modules
Object-oriented programming (OOP) with Complete understanding modules
Durgesh Singh
 
CSharp Programming.pptx
CSharp Programming.pptxCSharp Programming.pptx
CSharp Programming.pptx
AsadullahEman
 
Anagha
AnaghaAnagha
Mc0081 .(dot)net technologies
Mc0081  .(dot)net technologiesMc0081  .(dot)net technologies
Mc0081 .(dot)net technologies
smumbahelp
 
Design patterns in_c_sharp
Design patterns in_c_sharpDesign patterns in_c_sharp
Design patterns in_c_sharp
Cao Tuan
 
Bt0082 visual basic
Bt0082   visual basicBt0082   visual basic
Bt0082 visual basic
smumbahelp
 
Intro to C++ - Class 2 - Objects & Classes
Intro to C++ - Class 2 - Objects & ClassesIntro to C++ - Class 2 - Objects & Classes
Intro to C++ - Class 2 - Objects & Classes
Blue Elephant Consulting
 
Intro To C++ - Class 2 - An Introduction To C++
Intro To C++ - Class 2 - An Introduction To C++Intro To C++ - Class 2 - An Introduction To C++
Intro To C++ - Class 2 - An Introduction To C++
Blue Elephant Consulting
 
C# lecture 1: Introduction to Dot Net Framework
C# lecture 1: Introduction to Dot Net FrameworkC# lecture 1: Introduction to Dot Net Framework
C# lecture 1: Introduction to Dot Net Framework
Dr.Neeraj Kumar Pandey
 
trial
trialtrial
Mc0081 .(dot)net technologies
Mc0081  .(dot)net technologiesMc0081  .(dot)net technologies
Mc0081 .(dot)net technologies
smumbahelp
 
Mi0041 java and web design
Mi0041 java and web designMi0041 java and web design
Mi0041 java and web design
smumbahelp
 

Similar to Mit4021–%20 c# and .net (20)

Lecture 3.2.4 C pointer to Structure.pptx
Lecture 3.2.4 C pointer to Structure.pptxLecture 3.2.4 C pointer to Structure.pptx
Lecture 3.2.4 C pointer to Structure.pptx
 
Learn C# programming - Program Structure & Basic Syntax
Learn C# programming - Program Structure & Basic SyntaxLearn C# programming - Program Structure & Basic Syntax
Learn C# programming - Program Structure & Basic Syntax
 
csharp.docx
csharp.docxcsharp.docx
csharp.docx
 
C# Interview Questions | Edureka
C# Interview Questions | EdurekaC# Interview Questions | Edureka
C# Interview Questions | Edureka
 
Answer all questions and discussions.1.Describe what is an.docx
Answer all questions and discussions.1.Describe what is an.docxAnswer all questions and discussions.1.Describe what is an.docx
Answer all questions and discussions.1.Describe what is an.docx
 
Bca1020 programming in c
Bca1020  programming in cBca1020  programming in c
Bca1020 programming in c
 
C AND DATASTRUCTURES PREPARED BY M V B REDDY
C AND DATASTRUCTURES PREPARED BY M V B REDDYC AND DATASTRUCTURES PREPARED BY M V B REDDY
C AND DATASTRUCTURES PREPARED BY M V B REDDY
 
C notes by m v b reddy(gitam)imp notes all units notes 5 unit order
C notes by m v b  reddy(gitam)imp  notes  all units notes  5 unit orderC notes by m v b  reddy(gitam)imp  notes  all units notes  5 unit order
C notes by m v b reddy(gitam)imp notes all units notes 5 unit order
 
Object-oriented programming (OOP) with Complete understanding modules
Object-oriented programming (OOP) with Complete understanding modulesObject-oriented programming (OOP) with Complete understanding modules
Object-oriented programming (OOP) with Complete understanding modules
 
CSharp Programming.pptx
CSharp Programming.pptxCSharp Programming.pptx
CSharp Programming.pptx
 
Anagha
AnaghaAnagha
Anagha
 
Mc0081 .(dot)net technologies
Mc0081  .(dot)net technologiesMc0081  .(dot)net technologies
Mc0081 .(dot)net technologies
 
Design patterns in_c_sharp
Design patterns in_c_sharpDesign patterns in_c_sharp
Design patterns in_c_sharp
 
Bt0082 visual basic
Bt0082   visual basicBt0082   visual basic
Bt0082 visual basic
 
Intro to C++ - Class 2 - Objects & Classes
Intro to C++ - Class 2 - Objects & ClassesIntro to C++ - Class 2 - Objects & Classes
Intro to C++ - Class 2 - Objects & Classes
 
Intro To C++ - Class 2 - An Introduction To C++
Intro To C++ - Class 2 - An Introduction To C++Intro To C++ - Class 2 - An Introduction To C++
Intro To C++ - Class 2 - An Introduction To C++
 
C# lecture 1: Introduction to Dot Net Framework
C# lecture 1: Introduction to Dot Net FrameworkC# lecture 1: Introduction to Dot Net Framework
C# lecture 1: Introduction to Dot Net Framework
 
trial
trialtrial
trial
 
Mc0081 .(dot)net technologies
Mc0081  .(dot)net technologiesMc0081  .(dot)net technologies
Mc0081 .(dot)net technologies
 
Mi0041 java and web design
Mi0041 java and web designMi0041 java and web design
Mi0041 java and web design
 

Recently uploaded

Film vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movieFilm vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movie
Nicholas Montgomery
 
A Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdfA Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdf
Jean Carlos Nunes Paixão
 
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptxChapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
National Information Standards Organization (NISO)
 
คำศัพท์ คำพื้นฐานการอ่าน ภาษาอังกฤษ ระดับชั้น ม.1
คำศัพท์ คำพื้นฐานการอ่าน ภาษาอังกฤษ ระดับชั้น ม.1คำศัพท์ คำพื้นฐานการอ่าน ภาษาอังกฤษ ระดับชั้น ม.1
คำศัพท์ คำพื้นฐานการอ่าน ภาษาอังกฤษ ระดับชั้น ม.1
สมใจ จันสุกสี
 
PIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf IslamabadPIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf Islamabad
AyyanKhan40
 
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
GeorgeMilliken2
 
Life upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for studentLife upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for student
NgcHiNguyn25
 
writing about opinions about Australia the movie
writing about opinions about Australia the moviewriting about opinions about Australia the movie
writing about opinions about Australia the movie
Nicholas Montgomery
 
How to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRMHow to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRM
Celine George
 
BBR 2024 Summer Sessions Interview Training
BBR  2024 Summer Sessions Interview TrainingBBR  2024 Summer Sessions Interview Training
BBR 2024 Summer Sessions Interview Training
Katrina Pritchard
 
How to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold MethodHow to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold Method
Celine George
 
MARY JANE WILSON, A “BOA MÃE” .
MARY JANE WILSON, A “BOA MÃE”           .MARY JANE WILSON, A “BOA MÃE”           .
MARY JANE WILSON, A “BOA MÃE” .
Colégio Santa Teresinha
 
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
Nguyen Thanh Tu Collection
 
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Dr. Vinod Kumar Kanvaria
 
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptxC1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
mulvey2
 
PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.
Dr. Shivangi Singh Parihar
 
How to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 InventoryHow to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 Inventory
Celine George
 
Walmart Business+ and Spark Good for Nonprofits.pdf
Walmart Business+ and Spark Good for Nonprofits.pdfWalmart Business+ and Spark Good for Nonprofits.pdf
Walmart Business+ and Spark Good for Nonprofits.pdf
TechSoup
 
How to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP ModuleHow to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP Module
Celine George
 

Recently uploaded (20)

Film vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movieFilm vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movie
 
A Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdfA Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdf
 
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptxChapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
 
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
 
คำศัพท์ คำพื้นฐานการอ่าน ภาษาอังกฤษ ระดับชั้น ม.1
คำศัพท์ คำพื้นฐานการอ่าน ภาษาอังกฤษ ระดับชั้น ม.1คำศัพท์ คำพื้นฐานการอ่าน ภาษาอังกฤษ ระดับชั้น ม.1
คำศัพท์ คำพื้นฐานการอ่าน ภาษาอังกฤษ ระดับชั้น ม.1
 
PIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf IslamabadPIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf Islamabad
 
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
 
Life upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for studentLife upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for student
 
writing about opinions about Australia the movie
writing about opinions about Australia the moviewriting about opinions about Australia the movie
writing about opinions about Australia the movie
 
How to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRMHow to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRM
 
BBR 2024 Summer Sessions Interview Training
BBR  2024 Summer Sessions Interview TrainingBBR  2024 Summer Sessions Interview Training
BBR 2024 Summer Sessions Interview Training
 
How to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold MethodHow to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold Method
 
MARY JANE WILSON, A “BOA MÃE” .
MARY JANE WILSON, A “BOA MÃE”           .MARY JANE WILSON, A “BOA MÃE”           .
MARY JANE WILSON, A “BOA MÃE” .
 
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
 
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
 
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptxC1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
 
PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.
 
How to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 InventoryHow to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 Inventory
 
Walmart Business+ and Spark Good for Nonprofits.pdf
Walmart Business+ and Spark Good for Nonprofits.pdfWalmart Business+ and Spark Good for Nonprofits.pdf
Walmart Business+ and Spark Good for Nonprofits.pdf
 
How to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP ModuleHow to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP Module
 

Mit4021–%20 c# and .net

  • 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 (Prefer mailing. Call in emergency ) [ SPRING, 2016 ] 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 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. Question.2. Explain the following in context of methods in C# with the help of examples: 1. Invoking methods 2. Nesting of methods 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
  • 2. function/method without a name. Below, we are declaring a delegate which will point to an anonymous function. A) Invoking methods The keyword static implies that only one instance of the member exists for a class. Static variables are usedfordefiningconstantsbecause their values can be retrieved by invoking the class without creating an instance of it. Static variables can be initialized outside the member function or class definition. You can also B) Nesting of methods Nesting of Methods  If a methodinjavacalls a method in the same class it is called Nesting of methods. When a method calls the method in the same class dot(.) operator is not needed.  A method can call more than Question.3. 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: Member Description Question.4. 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.
  • 3. Question.6. Elaborate the steps for the following:  Creating the show.aspx page Answer : To add a page with code separation to the Web site 1. Close the Default.aspx page. To do this, right-click the tab with the file name in it and then click Close. 2. In Solution Explorer, right-click the Web site (for example, C:BasicWebSite) and then click Add New Item. 3. Under Installed Templates, click Visual Basic or Visual C# and then select Web Form from the list.  Adding code to the show.aspx page Answer: An embeddedcode block isservercode thatexecutesduringthe page'srenderphase.The code in the blockcan execute programmingstatementsandcall functionsinthe currentpage class. The followingcode exampleshowsanASP.NETWebFormspage withan embeddedcode blockthat displaysthe resultsof aloop. C# VB <%@ Page Language="C#" %> <html> 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 )