I have a class object with nearly 200 properties and need to remove the special characters from the property value. What is the efficient way to remove the special characters from the properties in a class object. The properties in a class contains special characters while receiving input from service. If the properties are less in a class then it can be done for each property. Is there a way to remove special characters from the properties other than using reflection ?
Aucun commentaire:
Enregistrer un commentaire