hello guys how r u ?
my question is that, how can we call a method through the property in console application ? like
this.anyproperty.anymethod();
is there any example code of program send me
Reply soon
Thanks.
How can we call method through property ?
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.

VulpesRank #55 · 29.2K reputationPosted Jan 3, 2012, 11:20 PM EST
AartiRank #2,383 · 594 reputationPosted Jan 3, 2012, 11:19 PM EST
as per my knowledge, we can call methods by using getter and setter properties
public String FileName
{
get { return fileName; }
set
{
fileName = value;
parseXmlFile(); //function name
}
}
Faisal AnsariRank #3,366 · 427 reputationPosted Jan 4, 2012, 12:17 AM EST