No, there is no intrinsic overhead simply in being marked as [Serializable]
. The only problem I'd have is that BinaryFormatter
and NetDataContractSerializer
are lousy serializers, and most other serializers aren't interested in this flag (ok, I may be biased)
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…