I need to minimalize size of serialized class. As I understand size of serialized data depends on names of properties.
So class
class XYZ
{
public int X { get;set;}
}
is smaller after serialization than
class XYZ
{
public int NumberOfUsersWithAccessToReportingService { get;set;}
}
Is there a way to mimimalize size of second class without changing names of properties to shorter versions like in first example? I need this to store data in Server.Cache so it is binary serialization.