Friday 30 September 2011

.Net Interview Questions Part 2

  1. Can we copy a COM dll to GAC folder?
  2. What is Shared and Repeatable Inheritance?
  3. Can you explain what inheritance is and an example of when you might use it?
  4. How can you write a class to restrict that only one object of this class can be created (Singleton class)?
  5. What are virtual destructors?
  6. What is close method? How its different from Finalize and Dispose?
  7. What is Boxing and UnBoxing?
  8. What is check/uncheck?
  9. What is the use of base keyword? Tell me a practical example for base keyword’s usage?
  10. What are the different.NET tools which you used in projects?
  11. What will do to avoid prior case?
  12. What happens when you try to update data in a dataset in.NET while the record is already eleted in SQL Server as backend?
  13. What is concurrency? How will you avoid concurrency when dealing with dataset?
  14. One user deleted one row after that another user through his dataset was trying to update same row.What will happen? How will you avoid this problem?
  15. How do you merge two datasets into the third dataset in a simple manner?
  16. If you are executing these statements in commandObject. “Select * from Table1; Select * from Table2? How you will deal result set?
  17. How do you sort a dataset.
  18. If a dataset contains 100 rows, how to fetch rows between 5 and 15 only?
  19. What is the use of Parameter object?
  20. How to generateXML from a dataset and vice versa?
  21. How do you implement locking concept for dataset?
  22. How will you do Redo and Undo in TextBox control?
  23. How to implement DataGrid in.NET? How would you make a combo-box appear in one column of a DataGrid? What are the ways to show data grid inside a data grid for a master details type of tables? If we write any code for DataGrid methods. what is the access specifier used for that methods in the code behind file and why?
  24. How can we create Tree control in asp.NET?
  25. Write a program in C# to find the angle between the hours and minutes in a clock?

0 comments:

Post a Comment

INDIA ENOW

How do u rate my blog?

Share

Twitter Delicious Facebook Digg Stumbleupon Favorites More