Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var query =
- from a in AppDomain.CurrentDomain.GetAssemblies()
- from t in a.GetTypes()
- where t.IsAbstract
- && !t.IsSealed // exclude static classes
- && !t.GetMethods().Any(m => m.IsAbstract)
- select t;
RAW Paste Data