+ 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(); } } }
2 Answers
0
omg.. i put the mydate class in Program class!
solve that!