Null checking for if then in C# – Asp.net
I am checking two conditions which is following in C#: if (result.Data.Count > 0) { if(result.Data[0].AdditionalData != null) { // To Do } } My confusion is there is any better way to check these in a single if condition?…