Main.cs
using
System;
struct
One {
-
public
string
showText() {
-
return
"Привет Мир!"
;
-
}
}
class
Program {
-
public
static
int
Main() {
-
One O =
new
One();
-
Console.WriteLine(O.showText());
-
Console.ReadKey();
-
return
0;
-
}
}
using
System;
struct
One {
-
public
string
showText() {
-
return
"Привет Мир!"
;
-
}
}
class
Program {
-
public
static
int
Main() {
-
One O =
new
One();
-
Console.WriteLine(O.showText());
-
Console.ReadKey();
-
return
0;
-
}
}
Привет Мир!