What is the Error on this code? Output is correct. And as same as all test case outputs also.
What is the Error on this code? Output is correct. And as same as all test case outputs also. But same time all the test cases are not passed. namespace Code_Coach_Challenge { class Program { static void Main(string[] args) { string postText = Console.ReadLine(); Post post = new Post(); post.Text = postText; post.ShowPost(); } } class Post { private string text; public Post(){ Console.WriteLine("New Post"); } //write a constructor here public void ShowPost() { Console.Write(Text); } public string Text{ get{ return text; } set{ text = value; } } //write a property for member text } }