I am using C# 9.0, and using XmlSerializer to deserialize an xml.

my code

```
public class MyObject 
{
    [XmlElement]
    public decimal? MyMoney {get; set;}
    [XmlElement]
    public string Name {get; set;}
}

```

and the xml deserialize code

```
var xmlSerializer = new XmlSerializer(typeof(MyObject));
var myobj = (MyObject) xmlSerializer (new StringReader(myInputString));

```

The xml contains a number with thousand group separator

How to customize the deserialization to override it, so it can be reusable in different locations

```
<MyObject>
<MyMoney> 222,333.55</MyMoney>
<Name> anything </Name>
</MyObject>

```