Remember string and char are objects.

Use String.Substring to get a single letter. But you have to covert it
to Char if that is what you need. Just use .ToChar() 

-----Original Message-----
From: Dru Sellers [mailto:[EMAIL PROTECTED] 
Sent: Thursday, November 18, 2004 11:15 PM
To: 'Log4NET User'; 'Eric Means'
Subject: OT: Easy C# Help

I want to do this

result[i] = System.Convert.ToChar(character);

How do I do it?

I am a vb guy and I am used to using

Mid(RandomString, i, 1) = character

Thanks,

Dru

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.797 / Virus Database: 541 - Release Date: 11/15/2004
 




DISCLAIMER:
This message is intended for the sole use of the addressee, and may contain 
information that is privileged, confidential and exempt from disclosure under 
applicable law. If you are not the addressee you are hereby notified that you 
may not use, copy, disclose, or distribute to anyone the message or any 
information contained in the message. If you have received this message in 
error, please immediately advise the sender by reply email and delete this 
message.

Reply via email to