摘要:
Sometime you may want to uniquely identify a Windows Phone, such as when you are implementing push notifications. The best way to identify a unique Windows Phone is through its device GUID.The following code snippet shows how to obtain the GUID of a Windows Phone device:using Microsoft.Phone.Info; p 阅读全文
摘要:
One of the most common tasks you need to perform in a Windows Phone application is updating the UI from a separate thread.For example, you may be download some content asynchronously using a WebClient class and when the operation is completed, you want to update the UI with the content that was down 阅读全文
摘要:
JavaScript Closurefunction f1(){ var n=999; return function(){ alert(n); // 999 return n; }} var a =f1(); alert(a());C# Closure static void Main(string[] args) { var a = new TClosure(); var b = a.T1(); Console.WriteLine(b()); } ... 阅读全文