1.

Where Does The Execution Start In A Wpf Application?

Answer»

WPF APPLICATIONS created in Visual Studio run WITHOUT a Main method. This is because the applications are special-cased when they are COMPILED from XAML. That means, Visual Studio attaches a Build ACTION of ApplicationDefinition to the XAML file. This results in the auto generation of a Main method.

WPF applications created in Visual Studio run without a Main method. This is because the applications are special-cased when they are compiled from XAML. That means, Visual Studio attaches a Build Action of ApplicationDefinition to the XAML file. This results in the auto generation of a Main method.



Discussion

No Comment Found