2012年4月22日

Life is not fair, get used to it.

摘要: 1.Life is not fair, get used to it. 生活是不公平的;要去适应它。 2.The world won't care about your self-esteem. The world will expect you to accomplish something before you feel good about yourself. 这世界并不会在意你的自尊。这世界指望你在自我感觉良好之前先要有所成就。 3.You will not make 40 thousand dollars a year right out of high s... 阅读全文

posted @ 2012-04-22 10:22 breakpoint 阅读(290) 评论(0) 推荐(0) 编辑

Give your contacts a big smile when you meet them. Make them feel that you are really happy to meet them.

摘要: 1.Give your contacts a big smile when you meet them. Make them feel that you are really happy to meet them.遇见别人的时候,予以灿烂的微笑。让他们感到你很快乐,很乐于与其相处。2.Give your full attention to the people you converse with as if nothing else is important. 把全身的注意力都集中在与你谈话的人身上,忽略其他。3. When they ask for your attention, leave 阅读全文

posted @ 2012-04-22 10:21 breakpoint 阅读(200) 评论(0) 推荐(0) 编辑

学习外语的十条经验

摘要: 谈到外语学习,匈牙利有一位叫卡莫·洛姆布的人说:“我大致用了25年的时间学习了16种语言,10种达到能说的程度,另外6种达到能翻译专业书刊,阅读和欣赏文艺作品的程度。” “我把自己漫游外语天地所获得的心得体会总结为十条: 1、学习外语一天也不能中断。倘若确实没有时间,哪怕每天挤出10分钟也行;早晨是学习外语的大好时光。 2、要是学厌了,不必过于勉强,但也不要扔下不学。这时可以改变一下学习方式;比如把书放到一边去听听广播,或暂时搁下课本的练习去翻翻词典等。 3、绝不要脱离上下文孤立地去死背硬记。 4、应该随时地记下并背熟那些平日用得最多的“句套子”。 5、尽可能‘心译’你接触到的东.. 阅读全文

posted @ 2012-04-22 10:19 breakpoint 阅读(121) 评论(0) 推荐(0) 编辑

2012年3月4日

WrapperClass

摘要: 编辑器加载中... 推荐内容索引 : http://blog.zhaojie.me/2009/12/valuable-posts-index.htmlprivate class WrapperClass{ private List<Item> m_items; public WrapperClass(List<Item> items) { this.m_items = items; } public void WaitCallback(object o) { DataContext db = new DataContext(); ... 阅读全文

posted @ 2012-03-04 21:47 breakpoint 阅读(101) 评论(0) 推荐(0) 编辑

2012年3月3日

Fibonacci

摘要: 1 //Copyright (C) Microsoft Corporation. All rights reserved. 2 3 using System; 4 using System.Threading; 5 6 // The Fibonacci class provides an interface for using an auxiliary 7 // thread to perform the lengthy Fibonacci(N) calculation. 8 // N is provided to the Fibonacci constructor, along wi... 阅读全文

posted @ 2012-03-03 22:16 breakpoint 阅读(150) 评论(0) 推荐(0) 编辑

SyncEvents

摘要: //Copyright (C) Microsoft Corporation. All rights reserved.using System;using System.Threading;using System.Collections;using System.Collections.Generic;// The thread synchronization events are encapsulated in this // class to allow them to easily be passed to the Consumer and // Producer classes. . 阅读全文

posted @ 2012-03-03 22:14 breakpoint 阅读(197) 评论(0) 推荐(0) 编辑

2012年2月27日

What's New in the .NET Framework 4

摘要: What's New in the .NET Framework 4Overview of the .NET Frameworkhttp://msdn.microsoft.com/en-us/library/ms171868.aspx.NET Framework Core Developmenthttp://msdn.microsoft.com/en-us/library/190bkk9s.aspx.NET Framework Sampleshttp://msdn.microsoft.com/en-us/library/bb400848.aspx 阅读全文

posted @ 2012-02-27 22:15 breakpoint 阅读(130) 评论(0) 推荐(0) 编辑

2012年2月26日

volatile

摘要: volatile 关键字指示一个字段可以由多个同时执行的线程修改。 声明为 volatile 的字段不受编译器优化(假定由单个线程访问)的限制。 这样可以确保该字段在任何时间呈现的都是最新的值。volatile 修饰符通常用于由多个线程访问但不使用 lock 语句对访问进行序列化的字段。volatile 关键字可应用于以下类型的字段:引用类型。指针类型(在不安全的上下文中)。 请注意,虽然指针本身可以是可变的,但是它指向的对象不能是可变的。 换句话说,您无法声明“指向可变对象的指针”。类型,如 sbyte、byte、short、ushort、int、uint、char、float 和 bool 阅读全文

posted @ 2012-02-26 20:46 breakpoint 阅读(169) 评论(0) 推荐(0) 编辑

2012年1月16日

AutoResetEvent和ManualResetEvent

摘要: 首先说说线程的终止状态和非终止状态。AutoResetEvent和ManualResetEvent的构造函数中,都有bool变量来指明线程的终止状态和非终止状态。true表示终止状态,false表示非终止状态。看代码片段1:代码片段1: AutoResetEvent _autoResetEvent = new AutoResetEvent(false); private void BT_Temp_Click(object sender, RoutedEventArgs e) { Thread t1 = new Thread(this.Thread1Foo); t1.Start(); Thre. 阅读全文

posted @ 2012-01-16 21:10 breakpoint 阅读(278) 评论(1) 推荐(1) 编辑

2011年12月6日

Visual C#

摘要: Learn Visual C#Discover a wealth of resources for learning Visual C#, for both the beginner and the experienced developer.Get Started with Visual C#Get an Introduction to the C# Language and the .NET FrameworkBuild Your First C# ApplicationBeginning Visual C# 2010C# Language FundamentalsGeneral Stru 阅读全文

posted @ 2011-12-06 23:14 breakpoint 阅读(249) 评论(0) 推荐(0) 编辑

导航