static void Main(string[] args) { ValidationResult result = new ValidationResult(); result.AddMessage( new ValidationMessage { Severity = SeverityType.Error, Message = "Sample error message 1." }).AddMessage( new ValidationMessage { Severity = SeverityType.Error, Message = "Sample error message 2." }); ValidationResult deepClone = result.DeepClone(); ValidationResult shallowClone = result.ShallowClone();; }