正文

Keyboard Shortcuts

(2007-08-19 17:20:25) 下一個
This is the most useful keyboard shortcuts that ever existed:

Ctrl + >

In .net framework, if you forget to include a namespace (the using statement on the very top of code, for example: using system), you will receive some compile time errors: some green wiggly line under some objects. For example, if you forget "using System.Data.SqlClient;", when you use "SqlParameter" or "SqlDataReader" in your code, you will see green wiggly lines under SqlParameter and SqlDataReader. Here is the cure: Click the cursor into the words with green wiggly lines, hold Ctrl and press >, it will tell you which namespace you missed. Try it.








[ 打印 ]
閱讀 ()評論 (0)
評論
目前還沒有任何評論
登錄後才可評論.