下記のC#コードをコンパイルすると"未割当てのローカル変数"text"が使用されました。"というエラーメッセージが表示され、コンパイルできない。フィールドtextはCreateMessageを実行する前に"Hello"で初期化することが明白なので、このエラーは不当と思われる。using System;namespace ConsoleApplication1{ class Program { static void Main(string[] args) { string text; // string text = null; Func<string> CreateMessage = () => { return text + " World!"; }; text = "Hello"; // コンソールに"Hello World."を表示する。 Console.WriteLine(CreateMessage()); } }}