Why XAML is compiled into BAML and not in C#

Viewed 14758

As far as I know, everything done in XAML can be done in C#.

Why XAML is compiled in BAML and not in C# ? Wouldn't be more efficient to parse the XAML at compile-time and create the corresponding C# code ?

3 Answers
Related