AFAIK: You have to use ARX (C++) to create it. It can't be done in c#
It might be beneficial if you went into more detail e.g. what type of "object" are you hoping to create, what you need it to do, why you need it done that way, etc. There may be other options.
Access a broad range of knowledge to help get the most out of your products and services.
Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.
Upgrading to a 2015 product? Make sure to check these out 1st!