If you want to use a C# snippet multiple times you can wrap it in a method like this and call it multiple times without having to copy it each time. You can paste this directly in the LoliCode and it will run correctly.
string MakeUppercase(string str)
{
return str.ToUpper();
}
var a = "hello";
var b = "buongiorno";
var c = MakeUppercase(a);
var d = MakeUppercase(b);
You can also create and use new classes, for example
class MyClass
{
public string MyProperty {get; set;}
}
var myObject = new MyClass();
myObject.MyProperty = "hello";
LOG myObject.MyProperty
Note: only variables with the supported types will be shown in the variable list of the debugger, and custom classes are not supported so you won’t actually see their values but you can still use them.
Ruri