i am new to c# , and i am trying to write a piece of code that is equivalent to code written in java below.
i need an input dialogue that asksthe user to enter his choice, sadly my attempts ended in both run time and compile time errors:)
i would apperciate your help
this is the code in java , which i am trying to implement in c#
do{
String name = JOptionPane.showInputDialog(null, "PLEASE ENTER YOUR CHOICE OF SQUARE NUMBER");
choice = Integer.parseInt(name);
choice --;
}while(TicTac[choice]!=' ');
Thank You:)