I am currently converting a Java library to C# .Net, please help me to find if there are C# equivalents of the following java specifics:

  • RuntimeException()
  • IllegalStateException()
  • StringBuffer

Any resource on Java to C# conversion will be very helpful. Thanks in advance.

Welcome mesbahuk!
I should change StringBuffer into StringBuilder
AS you can derive your own exceptions from the Exception class, look here for a start in C#. Success!

Thanks ddanbe.

Using StringBuffer solved stringBuffer problem.
I'm still a bit hazy on custom exception handling, can u suggest me some more reading materials? this will be a great help. :)