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

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

jquery - javascript onscroll fade same class but with different div -