how to see if a variable is in a class in c#
MyClass myClass = new MyClass();
try
{
// varToFind is the variable that you want to see if it is
// in the class
if (myClass.varToFind != "")
{
print("This variable name is in class");
}
else
{
print("The variable is in the class it is just set to nothing");
}
}
catch:
{
print("Variable is not in stringbuilder");
}