+ 1
Why I have problem when I press "try it your self" it works But when i do it same But in playground it didn't Work?
I learn in c# object and classes lesson 3 i try it in lesson's playground it works. But i tried in playground it didn't Work i dont understand what is wrong. I copy original and then still didn't Work.
13 Réponses
+ 2
Choose the code type
+ 2
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SoloLearn
{
class Person {
int age;
string Name;
public void SayHi(){
Console.WriteLine("Hi") ;
}
static void Main(string[] args)
{
Person p1 = new Person() ;
p1.SayHi() ;
}
}
}
Now i did like you and yeah when i write copy i mean Hand copy
+ 1
ERROR 13 20. 16 26,27, 25
15 26,27 etc
+ 1
Yep
+ 1
Wait Gordon I dont understand you
+ 1
Man is public on my profile
+ 1
Yeah