+ 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
2 Answers
0
omg.. i put the mydate class in Program class! solve that!
27th May 2017, 1:59 AM
SB K
SB K - avatar