chr(34)

  • Thread starter Thread starter selen
  • Start date Start date
selen said:
chr(34)= ? in c# how can I use it?
What is the 34 number ?

Not entirely sure what you're asking here, but:

char c = 34;

will work fine.
 
The 34 is the ascii character 34 (or the unicode 0034) which is the
character "
 
Jon Skeet said:
Not entirely sure what you're asking here, but:

char c = 34;

will work fine.

Oops - not quite, as you need to cast from int to char:

char c = (char)34;
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top