Question: I want to test if the `StringBuilder` is empty but there is no `IsEmpty` method or property.

How does one determine this?

Answer: 
use the `StringBuilder.Length` Property, here the [doc](https://msdn.microsoft.com/en-us/library/system.text.stringbuilder.length(v=vs.110).aspx)

```
if (mySB.Length > 0)
{
     Console.WriteLine("Bang! is not empty!"); 
}

```
Use this, it will work:

```
StringBuilder stringbuilder = new StringBuilder();
if(string.isnullorempty(Convert.toString(stringbuilder)))

```