void RecordButton_Click(object sender, EventArgs e)
{
NavigationService.Navigate(new Uri("/RecordAudio.xaml",UriKind.Relative));
}
In the above code , is NavigationService a class or is it an object of type NavigationService ? .
if it is a class . then is Navigate() a static method ?
and
if it is an object . Why have we not instantiated NavigateService class using the new operator ?
From what i know: The NavigationService class "belongs" to the recent page you're on and it is never used "on its own". You use its methods instead, like with navigate. The page gets informed when sth. new is to display.