Good day fellas! After quite some time never in touch with .NET code for a longer period of time, it's time for me to release extension methods that I have been using, with a twist. I'm releasing in conjunction of the latest version of .NET Core so that it will be usable in every application you might want to build (Windows, Linux, Android, iOS).
I have been discussing with dotnet team in the past to consider contributing this piece of code into .NET Core Framework, and it seems that the addition raised some concerns since it most likely conflicts with the existing String.Format(String, Object[])
method. See the discussion here: API extension proposal for System.String: string.Format function for string template · Issue #33136 · dotnet/runtime (github.com).
The main reason for this method was started when I code extensively with String.Format
, but always fail to remember which index the exact object is located. String.Format
does need you to specify which index of the object you want to format, and in most cases if you fail to remember, you could end up in error or wrong formatting.
Please look at the following links in order for you to get started and look around if it fits you. Go to NuGet gallery (NuGet Gallery | Rdz.Net.Library 1.1120.1039.1387) or GitHub for the source code (radityoardi/Rdz.Net.Library: It's a lightweight .NET library to simplify your code. (github.com)).
Cheers...!
Tidak ada komentar:
Posting Komentar
[give me your ideas, hopes, comments and compliments below...]
[aaand...... +1 if you need to....]