public static void Main()
Console.WriteLine("Please input a text with a *");
string text =Console.ReadLine();
Console.WriteLine("Hello World");
public static void newtext (string text){
while (isunicode == true && h< text.Length){
isunicode =Char.IsLetterOrDigit(text,h );
if( text.Substring(h,1).Equals("*") && firs ==false){
if ( text.Contains("*")&& isunicode == true){
string texth =Console.ReadLine();
Console.WriteLine(textg );
text=text.Replace("*", texth);
Console.WriteLine(textg );
for (int chkingtext=0; chkingtext<text.Length; chkingtext++){
isunichek =Char.IsLetterOrDigit(text,chkingtext );
if( text.Substring(chkingtext).Equals("*")&& isunichek == true ){
if(falsechking==true && isunichek == true ) {
Console.WriteLine("Error: no * in puted");
else if (isunichek == false ){
Console.WriteLine("Invalid characters");