Update ConvertExtensions.cs
This commit is contained in:
parent
a2c3c85161
commit
72dd0ad2b7
1 changed files with 3 additions and 0 deletions
|
|
@ -919,4 +919,7 @@ public static class ConvertExtensions
|
|||
|
||||
public static ulong ToUInt64(this long value)
|
||||
=> Convert.ToUInt64(value);
|
||||
|
||||
public static string Replace(this string input, string old, object @new)
|
||||
=> input.Replace(old, @new.ToString());
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue