can youu put a method in a property setter c# code example
Example: get setter c# model
Person person = new Person();
person.Name = "Joe"; // the set accessor is invoked here
System.Console.Write(person.Name); // the get accessor is invoked here