Dotnet, Asp.Net and Sql Server)
Total Page:16
File Type:pdf, Size:1020Kb
Important Topics for Interviews http://neerajkaushik1980.wordpress.com __________________________________________________________________________________________ Important topics for Inteviews (dotnet, Asp.Net and Sql Server) Contributor: Neeraj Kaushik Email: [email protected], [email protected] Page- 1 - Important Topics for Interviews http://neerajkaushik1980.wordpress.com __________________________________________________________________________________________ Table of Contents 1. What CLR Does?.................................................................................................................................................................... 5 2. Explain CTS (Common Type System)? .............................................................................................................................. 6 3. Explain CLS (Common Language Specification). ............................................................................................................. 7 4. Explain Boxing and unboxing? ........................................................................................................................................... 10 5. Explain Variables in C#. ...................................................................................................................................................... 10 6. Explain Jump statements in c#. ......................................................................................................................................... 12 7. What is nullable Type? ........................................................................................................................................................ 15 8. Why does string in .net is immutable? .............................................................................................................................. 17 9. Explain string Comparison? ................................................................................................................................................ 17 10. Explain String Interning?................................................................................................................................................ 19 11. Explain String Pooling? .................................................................................................................................................. 20 12. Explain string builder functioning behind the scene? ................................................................................................ 21 13. Explain Indexers? ................................................................................................................................................................... 21 13. Explain difference between Indexer and properties? ................................................................................................ 23 14. Explain Iterators? ............................................................................................................................................................ 23 15. Explain secure strings? .................................................................................................................................................. 25 16. Explain Enumerated types. ........................................................................................................................................... 26 17. Explain interface. ............................................................................................................................................................ 27 18. Should I design a base type or an interface? ............................................................................................................. 29 19. Explain App domain? ..................................................................................................................................................... 30 20. Explain Threading in dot net? ....................................................................................................................................... 30 21. What is diffgram? ............................................................................................................................................................ 31 22. How assignment of value is different in value type and reference type? ............................................................... 31 23. Difference between shallow copy and deep copy of object. .................................................................................... 32 24. What is use of using keyword? ..................................................................................................................................... 33 25. What is cloning? .............................................................................................................................................................. 33 26. What is Assembly? Difference between Private and Shared Assembly? How can we make shared assembly? 34 27. Why value type cannot be inherited?........................................................................................................................... 34 28. What is the difference between an event and a delegate? ...................................................................................... 34 29. What size is .net object? ................................................................................................................................................ 34 30. When and How to Use Dispose and Finalize in C#? ................................................................................................. 35 31. What is difference between equivalent of objects and identical of objects? .......................................................... 40 32. What's the difference between the System.Array.CopyTo() and System.Array.Clone()? ................................... 41 33. How ado.net maintain transaction of data? ................................................................................................................ 41 34. What is delay signing? ................................................................................................................................................... 42 35. Can you declare a C++ type destructor in C# like ~MyClass ()? ............................................................................. 42 36. What is difference between == and .Equals? ............................................................................................................. 43 37. What is the difference between structures and enumeration? ................................................................................. 43 38. Should I make my destructor virtual? .......................................................................................................................... 43 39. How do I declare a pure virtual function in C#? ......................................................................................................... 43 40. Where would you use an iHTTPModule, and what are the limitations of any approach you might take in implementing one? ........................................................................................................................................................................ 43 41. What is difference between code base security and role base security? Which one is better? ......................... 43 42. Is it possible to prevent a browser from caching an aspx page? ............................................................................. 44 43. What is the difference between Debug. Write and Trace. Write? ........................................................................... 44 44. What is difference between repeater over datalist and datagrid? ........................................................................... 44 45. Describe Main Characteristics of static functions? .................................................................................................... 44 46. What is DataReader? Difference between datareader and dataset? ..................................................................... 45 47. What is DLL hell? ............................................................................................................................................................ 45 48. What is Temporary Table? How can we create it? .................................................................................................... 45 Page- 2 - Important Topics for Interviews http://neerajkaushik1980.wordpress.com __________________________________________________________________________________________ 49. What is strong key and what is the use of it? ............................................................................................................. 47 50. What is Impersonation? ................................................................................................................................................. 47 51. What is Partitioned Tables? .......................................................................................................................................... 48 52. What types of data validation events are commonly seen in the client-side form validation? Web service support ..... 48 54. What is PreProcessor in .NET and type , where it use? ........................................................................................... 50 55. Please brief not