Hi All,
Adding a null check in the property worked for me. I don't understand somehow the same code was not serving my purpose before but it did eventually in the end.
Thanks anyways for the responses.
private List<string> _foo1 = new List<string>();
public List<string> MyProperty
{
get { return _foo1; }
set { if (value != null) _foo1= value; }
}
"Happy Coding"