Need Hellpppppp
I want to convert a digit into binary form how can i do this using C# plz help me i kno to convert binary to digit but can't do the reverse please help as soon as possible
thanks in advance
bia
0
Newbie Poster
Recommended Answers
Jump to PostYou can use
string binary = Convert.ToString(int digit, 2);
You can also use it to convert to octagonal and hexadecimal by changing the 2 to 8 or 16, respectively.
All 2 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.