Please realize that this forum is for vanilla AutoCAD .NET API discussion. If your question is specific for certain AutoCAD vertical product, other forum might provide better responds; or at least you give some information on what AutoCAD product your question is related to. I was guessing your question is about AutoCAD Map/Civil3D because of the mentioning of "class", but only was certain after seeing your following questions.
Anyway, here is my answer to your question.
AutoCAD Map (Civil3D) come with .NET Map ObjectARX APIs, which covers APIs do manipulate classification data. So, you do not use SendCommand()/SendStringToExecute() to call an AutoCAD Map command. In the Map .NET API there is class called ClassificationManager, which you can use to find classified entities easily.
In order to use Map .NET API, you need to set reference to ManagedMapApi.dll. You can download AutoCAD Map ObjectARX SDK (not AutoCAD ObjectARX SDK), so that you can take llok at the documentation and sample code on how to use MAP .NET API (to deal with classification, map query, map data import/export...)