title: WP 8.1 Runtime code to make phone call, send SMS & send Email (not the Silverlight 8.1)
body: <p>I'm writing an app which will make a phone call, send sms or email just like the People app in wp 8.1 .
  So far I've found a link form msdn which said "Applies to: Windows Phone 8 and Windows Phone Silverlight 8.1".
  So here the code:<a href="http://msdn.microsoft.com/en-us/library/windowsphone/develop/hh394025%28v=vs.105%29.aspx" rel="nofollow noreferrer">from this link</a></p>
  
  <pre><code>using Microsoft.Phone.Tasks;
  
  private void TextBlock_Tapped_Call(object sender, TappedRoutedEventArgs e)
  {
      PhoneCallTask phoneCallTask = new PhoneCallTask();
      phoneCallTask.PhoneNumber = "2065550123";
      phoneCallTask.DisplayName = "Gage";
  
      phoneCallTask.Show();
  }
  </code></pre>
  
  <p>But I got an error:</p>
  
  <p>The type or namespace name 'Phone' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?)</p>
  
  <p>Edit: Sorry for a duplicate question, same here: <a href="https://stackoverflow.com/questions/23555640/make-a-phone-call-in-windows-phone-8-1">Make a phone call in Windows Phone 8.1</a> 
  Answer by @Chris Shao, he also updated code to send SMS and Email.</p>