0

I need all the class names to be listed out from .cs file i tried to Google it but couldn't figure it out. Please help me to get the list.

I have code like this:

public partial class example1 : BaseEntity
{
}

public partial class example2 : BaseEntity
{
}
labilbe
  • 3,501
  • 2
  • 29
  • 34
suresh
  • 62
  • 1
  • 7

1 Answers1

0

I dont know exacly what you are trying to achieve. But if you put all your classes in a namespace you maybe can retrive them from that. Here is another discussion in that topic: How to get all classes within namespace?

Community
  • 1
  • 1
sn1ckers
  • 103
  • 7