Welcome,  Guest  |  Sign In |  New User? 

List of C# .NET Interview Questions & Answers

Page 1 of 34: 1 2 3 4 5 6 7 8 9 10 Next>>

How to debug javascript         [ 16 ]

Enable script debugging in internet explorer.
Put a word "debug;" in JavaScript.
Run the page
Then open script explorer from visual studio
Now u can set break points in JavaScript script Explorer.


Choose your rating:    Post Ans.    View More Ans.

What are the attributes         [ 37 ]

Attributes describe methods properties and fields and classes.

Attributes add meta data to classes and properties and fields

Attributes are  also objects.

before decorating any method with your own attribute u must define attribute class by extending standard class.

there are by default attributes available in frame work.




Choose your rating:    Post Ans.    View More Ans.

How many constructors should I write?         [ 28 ]

Two.

Choose your rating:    Post Ans.    View More Ans.

Can you change the value of a variable while debugging a C# application?         [ 23 ]

Yes, by using Immediate window.

Choose your rating:    Post Ans.    View More Ans.

Can you inherit multiple interfaces?         [ 24 ]

Yes

Choose your rating:    Post Ans.    View More Ans.

What connections does Microsoft SQL Server support         [ 17 ]

  • Windows Authentication
  • SQL Server authentication (Microsoft SQL Server username and passwords).


Choose your rating:    Post Ans.    View More Ans.

How do I make a DLL in C#         [ 32 ]

"Answer not available"

what is the main difference between delegate and an event in c#         [ 28 ]

"Answer not available"

What happens in memory when you Box and Unbox a value-type?         [ 53 ]

 Boxing converts a value-type to a reference-type, thus storing the object on the heap.  Unboxing converts a reference-type to a value-type, thus storing the value on the stack.

Choose your rating:    Post Ans.    View More Ans.

How do you convert a value-type to a reference-type?         [ 29 ]

 Use Boxing.
      

Choose your rating:    Post Ans.    View More Ans.

Page 1 of 34: 1 2 3 4 5 6 7 8 9 10 Next>>