0

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.

2
Contributors
2
Replies
13
Views
4 Years
Discussion Span
Last Post by mesbahuk
1

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!

Edited by ddanbe: addition

0

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. :)

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.