How to create a class in DS

When I put next code in a code block, how should I create new instances? If I put MyFloor1 = MyFloor(); in an other code block it warns that it cannot find the method.

class MyFloor
{
public Name ="";
public Area =0;
};

1 Like