Click here to Skip to main content
15,909,091 members
Home / Discussions / C#
   

C#

 
GeneralRe: Repost Pin
DaveyM6926-Mar-10 16:28
professionalDaveyM6926-Mar-10 16:28 
QuestionGet current page source from a toolbar Pin
Kirys26-Mar-10 5:09
Kirys26-Mar-10 5:09 
AnswerRe: Get current page source from a toolbar Pin
Kirys29-Mar-10 6:02
Kirys29-Mar-10 6:02 
Questionhow to string to binary Pin
tai-fun26-Mar-10 4:56
tai-fun26-Mar-10 4:56 
AnswerRe: how to string to binary Pin
Richard MacCutchan26-Mar-10 5:00
mveRichard MacCutchan26-Mar-10 5:00 
AnswerRe: how to string to binary Pin
OriginalGriff26-Mar-10 5:14
mveOriginalGriff26-Mar-10 5:14 
AnswerRe: how to string to binary Pin
tai-fun26-Mar-10 5:17
tai-fun26-Mar-10 5:17 
GeneralRe: how to string to binary Pin
harold aptroot26-Mar-10 5:59
harold aptroot26-Mar-10 5:59 
AnswerRe: how to string to binary Pin
Luc Pattyn26-Mar-10 5:21
sitebuilderLuc Pattyn26-Mar-10 5:21 
GeneralRe: how to string to binary Pin
tai-fun26-Mar-10 5:51
tai-fun26-Mar-10 5:51 
GeneralRe: how to string to binary Pin
Luc Pattyn26-Mar-10 6:04
sitebuilderLuc Pattyn26-Mar-10 6:04 
GeneralRe: how to string to binary Pin
OriginalGriff26-Mar-10 6:00
mveOriginalGriff26-Mar-10 6:00 
GeneralRe: how to string to binary Pin
tai-fun26-Mar-10 6:06
tai-fun26-Mar-10 6:06 
GeneralRe: how to string to binary Pin
Luc Pattyn26-Mar-10 6:32
sitebuilderLuc Pattyn26-Mar-10 6:32 
GeneralRe: how to string to binary Pin
Luc Pattyn26-Mar-10 6:36
sitebuilderLuc Pattyn26-Mar-10 6:36 
GeneralRe: how to string to binary Pin
OriginalGriff26-Mar-10 6:48
mveOriginalGriff26-Mar-10 6:48 
GeneralRe: how to string to binary Pin
Luc Pattyn26-Mar-10 6:56
sitebuilderLuc Pattyn26-Mar-10 6:56 
GeneralRe: how to string to binary Pin
OriginalGriff26-Mar-10 11:20
mveOriginalGriff26-Mar-10 11:20 
GeneralRe: how to string to binary Pin
Luc Pattyn26-Mar-10 11:25
sitebuilderLuc Pattyn26-Mar-10 11:25 
GeneralRe: how to string to binary Pin
OriginalGriff26-Mar-10 22:25
mveOriginalGriff26-Mar-10 22:25 
GeneralRe: how to string to binary Pin
T M Gray26-Mar-10 11:51
T M Gray26-Mar-10 11:51 
GeneralRe: how to string to binary Pin
Luc Pattyn26-Mar-10 12:00
sitebuilderLuc Pattyn26-Mar-10 12:00 
AnswerRe: how to string to binary Pin
tai-fun26-Mar-10 6:37
tai-fun26-Mar-10 6:37 
AnswerRe: how to string to binary Pin
DaveyM6926-Mar-10 6:49
professionalDaveyM6926-Mar-10 6:49 
Something like this:
C#
string alphabet = "abcdefg";
char[] chars = alphabet.ToCharArray();
foreach (char character in chars)
    Console.WriteLine(Convert.ToString(character, 2).PadLeft(8, '0'));

Dave

If this helped, please vote & accept answer!


Binging is like googling, it just feels dirtier. (Pete O'Hanlon)

BTW, in software, hope and pray is not a viable strategy. (Luc Pattyn)

QuestionNot able to assign the picture to toolbar item. Pin
SRKSHOME26-Mar-10 2:16
SRKSHOME26-Mar-10 2:16 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.