《Head c# first 》学习实录和资源分享

本人所用是本书的第二版,官网上现在已经没有了对应的图片资源,故将资源放在下面,帮助有需要的人。

算了发现没法上传附件……要的留邮吧

Chapter 2

  1. Only use partial before the method can divide one class into different files
  2. If you use the “for” loop, you can just push the “Tab” button twice to make the loop automatically.
  3. The variable in the “If condition “has to be bool.
  4. && shows AND ,and || shows OR
  5. Application.doevents 用来将其所进行的改变进行刷新重绘。不然的话程序要等待循环结束之后才可以进行重绘

Application.doevents can be used to redraw the changes to a form

     6.System.treading.thread.sleep(n) can be used to give some time to the form changing

System.treading.thread.sleep(n)可用于指定程序休息的毫秒数

你可能感兴趣的:(Head,c#,first,>)