Static members

Previous Next

A C# class can contain static or non-static members. A static member belongs to the class rather than to the object of the class. That means that when calling from USoft a static member of a stateless component, no object will actually be created and no constructor will be called. When calling from USoft a non static member an object will always be created (even for stateless components) and the default constructor will be called.