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
MIT
4021
SPRING
2016
1 Explain the
steps to execute C# programs using visual studio IDE.
Answer: Visual Studio is Microsoft’s
integrated programming environment. It lets you edit, compile, run, and debug a
C# program, all without leaving its well thought out environment. Visual studio
offers convenience and helps manage your programs. It is most effective for
larger projects. The steps required to edit, compile, and run a C# program
using the Visual Studio IDE are given below:
2 What do you
mean by type conversions in C#? Explain implicit and explicit type conversions
in C#.
Answer: Type
Conversions
We
often encounter situations where there is a need to convert a data of one type
to another before it is used in arithmetic operations or to store a value of
one type into a variable of another type
3 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. A method once
declared in a class can be
4 What do you
mean by members in C#? Explain constant members and read only members. Also
explain properties in C#.
Answer: Members
Classes
in C# consists of data and methods that operate on data called as member data
and member functions. Everything you define within a class is considered to be
a member of that class. In this section, you are going to see two types of
members of a class: Constant Members and Read-
5 How to handle
exception in C#. Explain the syntax. Also give an example.
Answer: An exception
is a condition caused by a runtime error in the program. When the C# compiler
encounters an error such as dividing an integer by zero, it creates an
exception object and throws it. If the exception object is not caught and
handled properly, the computer will display an error message and will terminate
the program. If we want the program to continue with the
6 Elaborate the
steps for the following:
Creating the
show.aspx page
Adding code to
the show.aspx page
Answer: Creating the
show.aspx page
The
show.aspx page displays the values entered by a user in the default.aspx page
of the website1 web based application. To create the show.aspx page:
1.
Right click the C:\.....\website1\node that appears in the Solution Explorer to
display to display a shortcut menu.
2.
Select the Add New Item option to display Add New Item dialog box.
3.
Enter a name such as show.aspx in the Name text box to specify a name for new
page, which you need to add
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