Dave Zych
  • Home
  • About
  • Contact
  • Privacy

convert

A collection of 3 posts
.net

Writing your own Convert.ToBase64String in C#

Have you ever wondered what Base64 is? How it works? Why you need it? Have you ever wanted to write your own Base64 encoder? Well, my friend, you are in luck because that’s what we’re talking about today. To get started… What is Base64? Base64 is a common
Dec 23, 2013 5 min read
.net

Converting a binary string to an int in C#

Back in my previous post, Converting an int to a binary string [http://davidzych.com/2013/12/06/converting-an-int-to-a-binary-string-in-c/], we looked at how to write out the bits of an int without using the existing Convert.ToString [http://msdn.microsoft.com/en-us/library/14kwkz77%28v=vs.110%29.aspx] method
Dec 13, 2013 1 min read
binary

Converting an int to a binary string in C#

The .NET Framework has a built in overload of Convert.ToString [http://msdn.microsoft.com/en-us/library/14kwkz77%28v=vs.110%29.aspx] which takes 2 parameters: the int you want to convert and an int of the base you want to convert to. Utilizing this with base 2, you
Dec 6, 2013 1 min read
Page 1 of 1
Dave Zych © 2025
  • Data & privacy
  • Contact
Powered by Ghost