Clyde Eisenbeis

Clyde Eisenbeis

  • 1.7k
  • 81
  • 13.7k

How do I convert a list element to text?

Nov 29 2024 8:15 PM

xaml:

<TextBox  x:Name="gTBxChar2"/>

 xaml.cs

List<string> liststStringParsed = new List<string>();
liststStringParsed.Add("a");
liststStringParsed.Add("b");
liststStringParsed.Add("c");
gTBxChar2 = liststStringParsed[2];

"gTBxChar2 = liststStringParsed[2]" is not acceptable.

How do I convert a list element to text?


Answers (2)