How can i Convert a String into a Object[] in C#


I need to Convert a String into a Array of Object in C#

Can anybode help me?

Hi @Beere_Plays
String.Tochararray()and assign to it to array variable of string length

Hi @Beere_Plays ,

Do you want each Individual character in the string as an item in the Array ?

No i want to convert the whole Output of the String into a Object

placing a string within an object Array

new object[]{"Hello World"}
new object[]{YourStringVar}

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.