char 型の変数をいくつか用いて string 型に変換し、文字列を組み立てる処理を書いた際、なぜか最終的な文字列が常に空のままになってしまい、原因の特定に苦戦しました。 凄い調べた結果、char 型の初期値は '\0'(ヌル文字)であるということでした。
ExtensionUtilities String and Char Extension Utilities is a C# library Class that provides a set of string and Character extension methods to enhance text processing: Installation Use the nuget ...
Some conversion functions like "to_string()" will always succeed, others may fail (e.g. to_int('A')). Again other functions are a little bit unexpected, like to_char() which skips initial whitespaces.