convert base64 string to string c#

C#
byte[] data = Convert.FromBase64String(encodedString);
string decodedString = Encoding.UTF8.GetString(data);
Source

Also in C#: