<pre lang="text"> foreach (var property in Props) { if (property.CanWrite && property.GetType() != typeof(Guid)) { //DoStuff } }
var
if (property.CanWrite && property.PropertyType != typeof(Guid))
if (property.CanWrite && property.GetType().ToString() != "System.Guid")
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)