I had deleted the App.xaml file and added new class named App.cs as the entry point. The buildAction property is compile.
class App : Application
{
[STAThread()]
static void main()
{
}
}
But when i compile an error had shown: d:\Projects\....\obj\x86\Debug\Test.exe does not contain a static 'Main' method suitable for an entry point.
How to solve this?
How to solve this?

Raja TRank #685 · 3.5K reputationPosted Jul 31, 2015, 4:01 AM EDT
static void Main (string[] args) // command line args passed in args, no return valuestatic int Main (string[] args) // command line args passed in args, integer exit value returned to os