摘要:
There is a memory leak issue in current silverlight project. It occurs in the search function: the memory usage of corresponding IE process increase a 阅读全文
posted @ 2013-11-28 15:15
Mike Von
阅读(323)评论(0)推荐(0)
摘要:
When check the [sign the Xap File] checkbox, build project failed due tosigntool.exe not found.Follow these steps:1. Make sure windows SDK is installed:http://msdn.microsoft.com/en-us/windowsserver/bb980924.aspx2. Make sure this path is contained in the system environment variable [path] (this path 阅读全文
posted @ 2013-11-08 15:16
Mike Von
阅读(670)评论(0)推荐(0)
摘要:
Here is a simple program test task, it doesn't have very diffcult logic:A zero-indexed array A consisting of N integers is given. An equilibrium index of this array is any integer P such that 0 ≤ P &A); class Solution { int solution(int[] A); } class Solution { public int solution(int[] A); 阅读全文
posted @ 2013-09-03 16:39
Mike Von
阅读(311)评论(0)推荐(0)
摘要:
A program test:You are given N round clocks.Every clock has M hands, and these hands can point to positions 1, 2, 3, ..., P (yes, these represent numbers around each face). The clocks are represented by the matrix A consisting of N rows and M columns of integers. The first row represents the hands o 阅读全文
posted @ 2013-08-18 05:39
Mike Von
阅读(428)评论(0)推荐(0)
摘要:
症状:;两个笔记本连接到同一个路由器上, 一个ip是 192.168.1.100,主机名是Lenovo-A, 另一个是192.168.1.109,主机名是Lenovo-B在Lenovo-A 上pingLenovo-B,得到结果Ping request could not find host Lenovo-B. Please check the name and try again.Pinging 192.168.1.109 with 32 bytes of data:Reply from 192.168.1.109: bytes=32 time=1ms TTL=128Reply from 19 阅读全文
posted @ 2013-08-18 02:40
Mike Von
阅读(854)评论(1)推荐(0)
摘要:
原文链接:http://ayende.com/blog/1558/polymorphic-databinding-solutionsLet us assume that you have the following class hierarchy:Now, what do you think the result of this code will be?BindingList<Animal> animals = new BindingList<Animal>();animals.Add(new Dog());animals.Add(new Cat());GridVie 阅读全文
posted @ 2013-06-07 09:27
Mike Von
阅读(226)评论(0)推荐(0)