namespace Test class Test def main is shared a as Object = 'aoeu' t1 as String = 'ao' t2 as String = 'eu' if (a to String).length==4 # the condition forces b to be constructed at runtime b as Object = t1 + t2 else b as Object = '' assert b # .warning. always assert a is not b # a and b are statically typed as `object` # in C# this would cause == to return false # but in Cobra, we get the correct answer: assert a==b