Without Book Interview Questions and Answers | Online Test | Moct Test
Download Android App in your Android Device from Google Play Store
- Search for "Withoutbook Practice Exam Test" in Mobile/Tablet Play Store
Institute Training Search by Name or Email

Exams Attended

Make Homepage

Bookmark this page

Subscribe Email Address

Microsoft .NET Interview Questions and Answers

  Difficulty Level: AllBeginnerIntermediateExpert

Ques 1. Write code for a case statement.

Ques 2. Is a struct stored on the heap or stack?

Ques 3. Can a struct have methods?

Ques 4. What is checked { } and unchecked { }?

Ques 5. Can C# have global overflow checking?

Ques 6. What is explicit vs. implicit conversion?

Ques 7. Can assignment operators be overloaded directly?

Ques 8. What do operators is and as do?

Ques 9. What is the difference between the new operator and modifier?

Ques 10. Explain sizeof and typeof.

Ques 11. What doe the stackalloc operator do?

Ques 12. Contrast ++count vs. count++.

Ques 13. .NET Stands for?

Ques 14. Name 10 C# keywords.

Ques 15. What is public accessibility?

Ques 16. What is protected accessibility?

Ques 17. What is protected internal accessibility?

Ques 18. What is private accessibility?

Ques 19. What is the default accessibility for a class?

Ques 20. What is the default accessibility for members of an interface?

Ques 21. What is the default accessibility for members of a struct?

Ques 22. Can the members of an interface be private?

Ques 23. Methods must declare a return type, what is the keyword used when nothing is returned from the method?

Ques 24. Class methods to should be marked with what keyword?

Ques 25. A class can have many mains, how does this work?

Ques 26. Does an object need to be made to run main?

Ques 27. Write a hello world console application.

Ques 28. What are the two return types for main?

Ques 29. What is a reference parameter?

Ques 30. What is an out parameter?

Ques 31. Write code to show how a method can accept a varying number of parameters.

Ques 32. What is an overloaded method?

Ques 33. What is recursion?

Ques 34. What is a constructor?

Ques 35. If I have a constructor with a parameter, do I need to explicitly create a default constructor?

Ques 36. What is a destructor?

Ques 37. Can you use access modifiers with destructors?

Ques 38. What is a delegate?

Ques 39. Write some code to use a delegate.

Ques 40. What is a delegate useful for?

Ques 41. Are events synchronous of asynchronous?

Ques 42. Events use a publisher/subscriber model. What is that?

Ques 43. Can a subscriber subscribe to more than one publisher?

Ques 44. What is a value type and a reference type?

Ques 45. Name 5 built in types.

Ques 46. string is an alias for what?

Ques 47. Is string Unicode, ASCII, or something else?

Ques 48. Strings are immutable, what does this mean?

Ques 49. Name a few string properties.

Ques 50. What is boxing and unboxing?

Ques 51. Write some code to box and unbox a value type.

Ques 52. What is a heap and a stack?

Ques 53. What is a pointer?

Ques 54. What does new do in terms of objects?

Ques 55. How do you dereference an object?

Ques 56. In terms of references, how do == and != (not overridden) work?

Ques 57. What is a struct?

Ques 58. Describe 5 numeric value types ranges.

Ques 59. What is the default value for a bool?

Ques 60. Write code for an enumeration.

©2016 WithoutBook