Net Framework 4.5 がインストールされた Windows 8 で Microsoft Visual Studio 2012 を使用しています。
UTF8Encoding クラスで getString(Byte[]) メソッドが見つからないようです。
msdn のドキュメント
で 2 つの方法が提供されていたため、何が欠けているのかわかりません。
メソッド: UTF8Encoding クラスの GetString
My Microsoft C#コード:
using System.Text;
// the code which I use the GetString method
// characters is a byte array
UTF8Encoding utfEncode= new UTF8Encoding();
string encodedStr= utfEncode.GetString(characters, 0, characters.Length); //this method is available to me
string encodedStr= utfEncode.GetString(characters); // the error message was that no such overloading method is found