Is it possible when looking at a class\' properties to detect if any of them is a reference type.
Take below as an example:
public class Client {
You can enumerate the properties via Reflection, and check them:
bool ContainsOnlyValues() { return typeof(ProgrammeClient).GetProperties().All(x => x.PropertyType.IsValueType); }