Entry point in the WPF application

Describe where us the entry point in the WPF application?




Whenever you create a WPF Windows Application in the Visual Studio, the generated project consists of no Main method, yet it still runs as expected! However, even attempting to add up a Main method provides a compilation error telling you that it is previously stated.

The application is special-cased whenever it is compiled from XAML, as Visual Studio allocates the XAML file a Build Action of ApplicationDefinition. This causes a Main method to be self generated.

   Related Questions in DOT NET Programming

2015 ┬ęTutorsGlobe All rights reserved. TutorsGlobe Rated 4.8/5 based on 34139 reviews.