1
Answer

How to initialize the deaf ult value to the class property.

hi frnds..
 
how to implement the default value of below property.
 
[DataMember]
public string status { get; set; }

[DataMember ]
public List<DALCompanyInfo> RetunrCompList { get; set; }
 
RetunrCompList  is a list type of class  DALCompanyInfo.
 
I dnt want to return the null value in JSON to the mobile app developer.   So i want to initilize the default value to the both property.
 
Thanks,...... 
 
Answers (1)