I want create function in c# WPF that returns 10 digit values. It contains as below
- One Digit (Static) -> 'G'
- Two Digit (Dynamic) -> '19' Of current Year
- Two Digit (Dynamic) -> '04' of Current Month
- Five Digit (Dynamic) -> '00284' <- It is returned from sql table. The length of this must be fixed.
The return value for above code is 'G190400284' (I want this value as return) if my five digit(4.) value is supposed to 1 then it's returns 'G1904000001'