110,538
社区成员
发帖
与我相关
我的任务
分享
public class RegistryObj
{
public string Key
{
get;
set;
}
public string Value
{
get;
set;
}
}
public int GetHashCode(RegistryObj obj)
{
int hashProductName = obj.Key == null ? 0 : obj.Key.GetHashCode();
int hashProductCode = obj.Value.GetHashCode();
return hashProductName ^ hashProductCode;
}
public class RegistryObj
{
public string KeyName{ get; set; }
public string ValueName { get; set; }
public RegistryValueKind ValueType { get; set; }
public string Value { get; set; }
public OptionEnum EnumOptionType { get; set; }
}