Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 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