Site Tools


Differences

This shows you the differences between two versions of the page.

Link to this comparison view

developer:dotnetclasses [2015/09/14] (current)
Line 1: Line 1:
 +====== Class Prefixes in the Rhino .NET SDK ======
 +
 +=====Question=====
 +What is the difference between all of the .Net SDK class prefixes. I see
 +
 +  * On...
 +  * IOnN...
 +  * MRhino...
 +  * IRhino...
 +
 +Can someone please give me a brief rundown of what all these mean and what they might signify the class is used for?
 +
 +=====Answer=====
 +The Rhino .NET SDK is a wrapper around the Rhino C++ SDK. For whatever reason, Microsoft choose not to implement the concept of **const** in the .NET framework. In C++, when modifying a data declaration,​ the **const** keyword specifies that the object or variable is not modifiable, or is constant. Thus, whenever you see a class name prefixed with an **I**, such as **IRhinoObject**,​ you will know that this is an object that cannot be modfied.
 +
 +
 +
 +{{tag>​Developer dotnet}}
  
developer/dotnetclasses.txt ยท Last modified: 2015/09/14 (external edit)