How could I modify all string properties of a class?
Let's say I have a model that has:
- 2 x
intproperties - 10 x
stringproperties
I want to add "some text" to all of the strings.
How do i make an extension method that would take the class object, grab the string values, add some text and then return the whole object with int values unchanged and string values changed?