You can put it in one line like this:
return excellInfoUpdateL3.canSendLetter == "N/A" ? "N" : excellInfoUpdateL3.canSendLetter;
1
solved how to apply if condition in C# [duplicate]
You can put it in one line like this:
return excellInfoUpdateL3.canSendLetter == "N/A" ? "N" : excellInfoUpdateL3.canSendLetter;
1
solved how to apply if condition in C# [duplicate]