Geeks With Blogs
Blog Moved to Blog Moved to
A few weeks ago, I linked to a list of What Great .NET Developers Should Know.  I then came up with the idea of adding more of my own through my own experiences.  I found this list to be helpful and not just random trivia and picking points out of the .NET class libraries.  If anyone has more to add or to nitpick my list, please let me know...
Updated 6/15/2006
See Questions BizTalk Developers Should Know as well for more questions
Common Language Runtime Questions:
  • Describe the inheritance differences between a class and a struct.
  • Give three examples of structures in the System namespace.
  • Can you have multiple types from with a single System.Array? 
  • In the IDisposable pattern, how do you stop the finalizer from being called by the Garbage Collector?
  • What is a satellite assembly and why would you use them?
  • I need a string to be formatted using non-culture specific formatting.  How would I do this?
  • I have an overloaded constructor that needs to call a constructor from the base class that has multiple parameters.  How do I do this?
  • What is method shadowing?  How would I shadow a method?
  • In what instances would you explicitly implement an interface method versus making it public?
  • How can I prevent my class from being inherited?
  • In order to use a foreach statement in a collection, what must the collection implement?
  • Which attributes and keywords are needed for P/Invoke methods?
  • Explain the lock keyword and what it does behind the scenes
  • In order to make an enum into flags, what must I do?
  • What is a multi-cast delegate and how would it be used?
  • In .NET 1.1, what class would you use as a base class for custom collections that are referenced by index?
  • What collection is FIFO?
  • With a custom application configuration file, what is the structure of my application settings?
  • Can static methods and properties be overridden?
  • What are the major parts of an assembly that make it unique?
  • Does this statement work:  DateTime myDate = myObj as DateTime;  Why or why not?
  • How can you easily find out if an enum value is valid?
  • What does this statement do?  caspol -machine -addgroup All_Code -pub -file MyApp.exe FullTrust
  • By what mechanism can you get a reference to a custom attribute on your property, method, or class?
 ASP.NET Questions:
  • Which Validator would be easiest for you use to validate a string to be of a certain format?
  • What is the purpose of the IEditableObject?
  • Which class do you use to encode or decode HTML?
  • What does the following code mean?  <%@ OutputCache Duration=”60” VaryByParam=”City” %>
  • In order to use Databinding through the DataSource property, what must your DataSource implement?
C++/CLI Questions:
  • I want a method to be internal to my assembly.  What access modifier(s) should be used?
  • In C++/CLI, explain the difference between ^ and * pointers.
  • What does delete keyword when used on managed classes?
  • Describe what the auto_handle template class is and what it provides.
  • When should you absolutely pin a pointer?
  • What template class should you use to create managed objects inside unmanaged classes?
  • What new iterating statement is now available in C++/CLI?
  • Explain the difference between a ref struct and a value struct.
  • What is the difference between ~MyClass() and !MyClass() ?
.NET 2.0 Specific Questions:
  • What is an anonymous method?  How does this differ from how things were accomplished in previous versions of .NET?
  • How do you constrain a generic?
  • What does the yield statement mean?
  • What is the difference between IEnumerator and IEnumerator<T> when it comes to methods available?  Why is that?
  • I want a DateTime that can be null.  What are two ways I can do this?
  • Name a Factory pattern in ADO.NET and what does it do?
  • What are membership providers and how are they used?
ADO.NET Questions:
  • Explain the four basic principles of a transaction.
  • What are SqlTypes and when should they be used instead of regular .NET built-in types?  For example DateTime vs. SqlDateTime.
  • When should you use a SqlDataAdapter over a SqlCommand?
  • Describe the isolation levels in SqlTransactions.  When would you use RepeatableRead over Serializable?
  • What is a best practice when dealing with ADO.NET connected resources in order to be certain that they are closed in an appropriate manner?
  • What are some of the advantages of using DataSets?  How about disadvantages?
Component Development Questions:
  • Describe the minimum steps for making a .NET assembly to be registered in COM
  • Explain the Transaction Isoliation Levels in Enterprise Services.
  • What is required for auto registration for a COM+ component?
  • After working with a COM Interop assembly, how do I release the reference?
  • What are the ways to commit a transaction in COM+ either automatically or manually?
Enterprise Architecture Questions:
  • What is an n-tier application?
  • What is the design pattern in which only one instance can be made?
  • Describe what an "abstract factory" is.
  • What is Model Driven Architecture?
  • What does Model View Controller mean?
  • When Service Oriented Architecture describes "loose coupling", what does this mean?  Give an example.
XML Questions:
  • What tool would you use to create concrete classes from an XSD schema?
  • If I do not want a property or field to be serialized, what do I do?
  • What is the class to use for accessing an XML DOM document when execution speed is critical?
  • What security concerns are there with XSLT transforms?
  • When you want to switch between the functionality of a DataSet and an XmlDocument, what do you use?
Posted on Wednesday, May 31, 2006 1:10 PM .NET , C# , ASP.NET | Back to top

Comments on this post: More Things Great .NET Developers Should Know

# Great things .NET developers should know
Requesting Gravatar...
Comments on my link
Left by on Jun 13, 2006 12:47 PM

Your comment:
 (will show your gravatar)

Copyright © Matthew Podwysocki | Powered by: