WPF Interview questions

Total available count: 11
Subject - Microsoft Technologies
Subsubject - WPF

Where is the entry point in WPF application?

When you create a WPF Windows Application in Visual Studio, the generated project has no Main method, yet it still runs as expected. In fact, even attempting to add a Main method gives a compilation error telling you that it is already defined. Application is special-cased when it is compiled from XAML, because Visual Studio assigns the XAML file a Build Action of ApplicationDefinition. This causes a Main method to be auto generated.

Next 1 interview question(s)

Can you create Windows Service Using WPF?