Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
15
Task/Base64-decode-data/C-sharp/base64-decode-data.cs
Normal file
15
Task/Base64-decode-data/C-sharp/base64-decode-data.cs
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
using System;
|
||||
using System.Text;
|
||||
|
||||
namespace Base64DecodeData {
|
||||
class Program {
|
||||
static void Main(string[] args) {
|
||||
var data = "VG8gZXJyIGlzIGh1bWFuLCBidXQgdG8gcmVhbGx5IGZvdWwgdGhpbmdzIHVwIHlvdSBuZWVkIGEgY29tcHV0ZXIuCiAgICAtLSBQYXVsIFIuIEVocmxpY2g=";
|
||||
Console.WriteLine(data);
|
||||
Console.WriteLine();
|
||||
|
||||
var decoded = Encoding.ASCII.GetString(Convert.FromBase64String(data));
|
||||
Console.WriteLine(decoded);
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue