Istudent Rana

Istudent Rana

  • 1.3k
  • 317
  • 79.7k

Could not understand a line of code

Feb 6 2019 11:39 AM
I could not get this line.
Could you please explain what this line is trying to do ?
Thank you
 
 
this.score= !(!Information.IsDBNull(RuntimeHelpers.GetObjectValue(dataSet.Tables[0].Rows[0][5])) & StringType.StrCmp(dataSet.Tables[0].Rows[0][5].ToString(), "", false) != 0) ? IntegerType.FromObject(dataSet.Tables[0].Rows[0][4]) : (IntegerType.FromObject(dataSet.Tables[0].Rows[0][5]) <= 0 ? IntegerType.FromObject(dataSet.Tables[0].Rows[0][4]) : IntegerType.FromObject(dataSet.Tables[0].Rows[0][5])); 

Answers (1)