Hi guys, there are some of my codes look repetitive. I was wondering whether we could make it one liner
code]
If (OwnerCode != Null)
{
value1 = OwnerCode;
}
else
{
value1 = string.empty;
}
If (selectedCode != Null)
{
value2 = selectedCode;
}
else
{
value2 = string.empty;
}
[/code]
Cheers
code]
If (OwnerCode != Null)
{
value1 = OwnerCode;
}
else
{
value1 = string.empty;
}
If (selectedCode != Null)
{
value2 = selectedCode;
}
else
{
value2 = string.empty;
}
[/code]
Cheers