I am checking one line of code from my project
if ( (test == 0) &&
lenght.Matches(new Version(Convert.ToInt64(version))) )
Whenever i debugged i am getting currentVersion as a constant value of 18 digit number,but the result i wanted is last exisitng datas version
i am getting ‘length‘ as using the following code
length.Version = (long)data.Version.Rows[0]["Version"];
So i suspect it is always taking Rows arrays first value, how can i change this code so that it will give the last value of arrays
Using LINQ-expression
Using
Rows.Countproperty