wpf - is "using" slower than direct referencing to the name space in winrt? -
we have 2 ways of coding. 1 better approach?
var visibility = windows.ui.xaml.visibility.collapsed;
or
using windows.ui.xaml; var visibility = visibility.collapsed;
no. makes no difference1
the compiled code same. using directive merely instructs compiler how resolve types used.
1 true of c#; winrt or wpf or xaml not change this.
Comments
Post a Comment