Check has value in property c# ternary operator

 isFound.IssueQty = isFound.IssueQty.HasValue ? (isFound.IssueQty + itemIssue.Qty) : itemIssue.Qty;

Comments

Popular posts from this blog

How to use DbFunctions.TruncateTime

Microsoft Access Connectivity from C#

Tool 'dotnet-ef' failed to install. dotnet core