I don't think this is any clearer than your last post. What are you trying to do?
Your not going to get a useful answer with such a vague question.
Your query seems to be a general programming query in C# and not directly related to the AutoCAD API.
You can find several examples by searching the web.
Here is one such post :
Access a broad range of knowledge to help get the most out of your products and services.