| c# Programming Glossary: subtypesHow to make generic class that contains a Set of only its own type or subtypes as Children? http://stackoverflow.com/questions/15590540/how-to-make-generic-class-that-contains-a-set-of-only-its-own-type-or-subtypes-a  generic class that contains a Set of only its own type or subtypes as Children  abstract class Animal class Mammal Animal class.. 
 Should IEquatable<T>, IComparable<T> be implemented on non-sealed classes? http://stackoverflow.com/questions/1868316/should-iequatablet-icomparablet-be-implemented-on-non-sealed-classes  IEquatable T since the field could potentially store subtypes of T and I doubt most implementations of IEquatable T are designed.. 
 Why a C# struct cannot be inherited? [duplicate] http://stackoverflow.com/questions/2310103/why-a-c-sharp-struct-cannot-be-inherited  is affected at a low level if you allowed structs to have subtypes with more members. Anything storing that struct type would take.. 
 C# WCF: When is it appropriate to use the KnownType attribute? http://stackoverflow.com/questions/3167932/c-sharp-wcf-when-is-it-appropriate-to-use-the-knowntype-attribute  this question   KnownType is needed to tell it about subtypes. The disadvantage of not using it is that the following won't.. 
 Inherit List<T> http://stackoverflow.com/questions/5376203/inherit-listt  ReadOnlyCollection T KeyedCollection K T or CollectionBase subtypes instead. Note that the generic collections are only supported.. 
 protobuf-net inheritance http://stackoverflow.com/questions/6247513/protobuf-net-inheritance  with protobuf net like that if I don't know what the subtypes are  c# protocol buffers protobuf net   share improve this question..   share improve this question   If you can't specify the subtypes in attributes because it isn't known at compile time you have.. kept asking for. The first is my preferred option. To add subtypes at runtime var model TypeModel.Create var type model.Add typeof.. 
 |