© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
How to check if class A is subclass of class B in code generator? - C#
C
C#
•
11mo ago
•
2 replies
グラナイト
How to check if class A is subclass of class B in code generator?
For example
, I have class A
{
}
, class B
: A
{
}
, class C
: B
{
}
, how do I determine that class C is subclass of A using ClassDeclarationSyntax
?
C#
Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
62,470
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
How to check if two values are in the same child of a class?
C
C# / help
3y ago
✅ Check if an item is in a list
C
C# / help
2y ago
❔ How to spell check code?
C
C# / help
3y ago
❔ How can I check if any element of a list is in another list?
C
C# / help
4y ago