what's wrong? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

what's wrong?

using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SoloLearn { class Program { static void Main(string[] args) { public class mydate { public void show() { Console.Write("date!"); } } mydate ohmydate = new mydate(); ohmydate.show(); } } }

27th May 2017, 1:25 AM
SB K
SB K - avatar
1 Answer
0
omg.. i put the mydate class in Program class! solve that!
27th May 2017, 1:59 AM
SB K
SB K - avatar