Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Blog
Byte array to base 64 string
//Rextester.Program.Main is the entry point for your code. Don't change it. //Compiler version 4.0.30319.17929 for Microsoft (R) .NET Framework 4.5 using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; namespace Rextester { public class Program { public static void Main(string[] args) { //Your code goes here Console.WriteLine("Hello, world!"); var bytes = new byte[] { 0x94, 0x01, 0x2, 0x82, 0xB8, 0x01, 0x82, 0xE8, 0x3 }; Console.WriteLine(Convert.ToBase64String(bytes)); } } }
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
Code1
all possible sub strings of a given string
Understandiing Virtual, Override, New Keyword in C#
tesyyyyy
araray
TempConverter
Md5 hash
Custom thousand separator
Test
Test date/time bug
stackse - search stackoverflow differently
Please log in to post a comment.