Click here to Skip to main content
15,898,373 members

Comments by ManojRGEC (Top 12 by date)

ManojRGEC 15-May-17 22:05pm View    
but unfortunately it is not working for me. I am trying to update property value in "async await" method. so may be this is the main cause that i am not able to update it. Thanks for your help!!
ManojRGEC 15-May-17 13:39pm View    
Thanks for your suggestion :)
ManojRGEC 15-May-17 11:05am View    
I have inherited same abstract class in the request model as well.

e.g

public class RequestModel: BaseResponse
{
//some Properies here
}
ManojRGEC 15-May-17 11:01am View    
Thanks for your response. I have tried same but getting error "object reference not set to an instance of an object"
ManojRGEC 14-May-17 6:01am View    
Thanks for your solution :)

int minLength = int.MaxValue;
int index = -1;

for (int i = 0; i < test.Length; i++)
{
if (test[i].Length < minLength)
{
minLength = test[i].Length;
index = i;
}
}