Toughest C# Interview Questions

9/21/2012 2 Comments

Advanced C# Interview Questions expected for senior professionals in companies like Wipro, Infosys, TCS, IBM.

  1. How do you read the eventlog of windows service?
  2. In C#: how do you subtract two dates?
  3. What is the easiest way to serialize and deserialize to XML?
  4. How can I do Databinding in c#?
  5. How can you read the filenames inside the directory to an array?
  6. How to define a Method with no return in C#?
  7. How do you avoid a race condition when using Dispatcher.Run()?
  8. How to define a property whose type in database is bit?
  9. How can you check if a printer is installed and ready using C#?
  10. How do you generate a line chart from an asp.net WebService?
  11. How to define a variable that can be used everywhere?
  12. How do you create a banner panel in C#?
  13. How can you avoid an infinite loop when overriding a virtual property?
  14. How do you Read the value of an attribute in a Method
  15. What is an "endpoint" in WCF?
  16. How can you double buffer a Panel in C#?
  17. How do you avoid the loader lock?
  18. How to define two dependent generic interfaces?
  19. Explain what is the equivalent datatype of SQL Server's Numeric in C#
  20. How do you reconcile IDisposable and IoC?
  21. How do you generate One time passwords (OTP / HOTP)?
  22. Explain what is an abstract type in C#?
  23. How do you redirect to a website using MVC?
  24. Explain how can you delete from registry - in C#?
  25. How do you handle non existing nodes in Linq / XML?
  26. What is the equivalent of JPA in .NET?
  27. How do you make custom controls in C#?
  28. How do you bind a field to a control in WinForms?
  29. How do you redirect to another page with ASP.NET?
Dear Readers, please use the comment section for the answers.

2 comments :

  1. Thanks, we will be coming with the answers as well.

    ReplyDelete

 

Aired | The content is copyrighted and may not be reproduced on other websites. | Copyright © 2009-2016 | All Rights Reserved 2016

Contact Us | About Us | Privacy Policy and Disclaimer