Re: C# Newby String to Char Conversion question

Tech-Archive recommends: Fix windows errors by optimizing your registry



Thanks Everyone!

Now I get it and I also understand the documentation that was showing how to
manipulate character arrays.

Fred



"Fred Nelson" <fred@xxxxxxxxxxxxxx> wrote in message
news:uvNU6P6WFHA.4032@xxxxxxxxxxxxxxxxxxxxxxx
> Hi:
>
> I'm more than a little confused with this question:
>
> I need to create a char type from the first letter in a string - for
> example:
>
> string mystring;
> char mychar;
>
> mychar = (first character of mystring)
>
> I have looked all around and find many examples of character arrays
however
> I can't find a simple example of how to do this - probably because it's
> simple - at least I hope.
>
> Any help with this woudl be GREATLY appreciated!
>
> Thansk,
>
> Fred
>
>


.