1) string temp =(""); You don't need the parenthesis.
2) If you want to get the content of the 1st position from an string, you can use newWord[0]. With brackets.
Anyway, you cannot assign it to temp because String are immutable in C#. So temp = newWord[0]; is wrong.
Take a look into Substring() from chapter 4 and try focus on how to get the pieces of the word one by one.
I.E. : "Python"
Try to get "P", then try to get "n" and then try to get "ytho" using Substring()
https://github.com/basamaryan/My-Programs/blob/af7df6b1509ecaf5b276fdd6dce178d7375cdd9f/ConsoleApp1/ConsoleApp1/Program.cs#L13
I see these problems
1) string temp =(""); You don't need the parenthesis. 2) If you want to get the content of the 1st position from an string, you can use newWord[0]. With brackets. Anyway, you cannot assign it to temp because String are immutable in C#. So temp = newWord[0]; is wrong.
Take a look into Substring() from chapter 4 and try focus on how to get the pieces of the word one by one. I.E. : "Python"
Try to get "P", then try to get "n" and then try to get "ytho" using Substring()