Hyderabad:8008855666, Vizag:9966955666, Rajahmundry:9059061333, Kakinada:9618855666

Demo2 first
IEEE Projects on:Java & .NET
Demo2 second
Mobile Application Projects on:J2ME & ANDROID
Demo2 third
IEEE Projects on:Java & .NET
Demo2 fourth
Mobile Application Projects on:J2ME & ANDROID

C# .NET Programs

1.Demonstrate a using alias.

ANSWER

2.Using the as Keyword to Work with an Interface using System;

ANSWER

3.Catch block with Exception Object

ANSWER

4.Catch without Exception type

ANSWER

5.Exception Translation: CLR catches an exception and rethrows a different exception. The inner exception contains the original exception.

ANSWER

6.illustrates the use of the continue statement

ANSWER

7.Demonstrate as

ANSWER

8.demonistrate for circle

ANSWER

9.Using break to exit a do-while loop

ANSWER

10.Demonstrates the use of Environment.Exit() in a command line program.

ANSWER

11.illustrates the use of expressions to calculate and display the circumference of a circle

ANSWER

12.illustrates exception propagation with methods

ANSWER

13.demonistrate recursiveException

ANSWER

14.calls GetBaseException and outputs the error message of the initial exception.

ANSWER

15.Using command-line arguments to initialize an array.

ANSWER

16.Compute the order of magnitude of an integer

ANSWER

17.Using the is Keyword to Work with an Interface

ANSWER

18.choose between two overloaded methods at run-time using the is keyword

ANSWER

19.A Programme Introduction to C# (Second Edition) by Eric Gunnerson

ANSWER

20.compare the difference between passing a null reference vs. a reference to a zero length string

ANSWER

21.Demonstrate passing an object to an event handler and performing the proper cast in the method.

ANSWER

22.a simple example of function overloading

ANSWER

23.Demonstrate the difference between prefix postfix forms of ++.

ANSWER

24.demonistrate for recursive

ANSWER

25.Reference, output and value parameters

ANSWER

26.Side-effects can be important.

ANSWER

27.Anonymous methods can refer to local variables of the containing function and class members within the scope of the method definition

ANSWER

28.The @ prefix turns off the processing of escape characters

ANSWER

29.Shows how multiple objects may subscribe to the same event.

ANSWER

30.Equals and ReferenceEquals

ANSWER

31.Exception handle with your own exception class

ANSWER

32.error

ANSWER

33.Throw exception from getter

ANSWER

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>