|
by Eric Gunnerson via Eric Gunnerson's Compendium : CSharp on 10/29/2007 11:01:00 PM
So, you're using the SDK, and it turns out that you need to store some data, and there isn't a built-in type that stores what you need. What do you do?
The SDK provides a way for you to create your own custom type. There's an important limitation to this technique that I'll touch on later, so make sure to read all the way through. I would tell you now, but that would ruin the suspense.
Creating the class
First of all, you'll need to create the class. I'm going to be using a simplified ver
... [ read more ]
|
|