我最近碰到這個SO article和隨後調整了它爲我的情景: using System;
using System.Collections.Generic;
namespace ConsoleApplication18
{
class Program
{
static void Main(string[] args)
{
Manag
我只是絆了以下內容: class AFrameworkElement : FrameworkElement
{
private void SomeMethod()
{
Size s = new Size {
Width = Height = 10
};
// the size isn't used for measuring