Tuesday, April 6, 2010

C# Interview Questions

  1. Is Static thread Safe?
  2. Where do you use Static?
  3. What is the difference between static and instance variables?
  4. What is the difference between a shared and private assembly?
  5. What is one key requirement for a shared assembly (as opposed to private assembly)?
  6. What is the procedure to sign an assembly?
  7. What is the difference between early binding and late binding?
  8. What is the difference between a process and a thread? 
  9. What is the difference between ToString() VS Convert.ToString() VS Parse VS (string) cast?

    ToString() raise an exception when the object is null.

    Convert.TosString()- returns empty in case of null object

    Parse - raise ArugumentNull Exception in case of null.

    (string) cast - assign the object in case of null.

0 comments:

Post a Comment