Jan 7
Interface: 定義為抽象的概念,與Class差別為,界面雖然有包含屬性與方法,但只宣告而不包含實作內容。
--類別只能"繼承"一個父類別,但能"實作"(語法跟繼承很像)多個介面。(老爸只能有一個,乾爹可以認很多個的概念)
--類別實作介面時,只會得到方法的名稱,不會包含任何實作內容。
Jan 4
class Aaa{}				//class類別
  decimal Bbb(){}		//method方法
    int Ccc{get; set;} 	//property屬性

。不含set的屬性被視為唯讀
。不含get的屬性被視為唯寫
。同時具有這兩種存取子的屬性則為可讀寫
Jan 2
Console.WriteLine()	秀畫面並換行;
Console.Write()		秀畫面;

========================

Console.Write(string.Format("{0}*{1}={2:00}\t", j, i, j * i));
//類矩陣的方式,定義每個值的顯示方式


繼續瀏覽 »

Dec 27

Dec 22

Yesterday, a colleague reported that when sending emails to clients,some emails turned into garbled text。After obtaining the problematic emails,they were plain text with garbled characters,while the sender’s sent items backup showed them in HTML format,這跟以往遇到的情形不太一樣,以往是寄出時,使用了RTF的格式,且對方不是使用Outlook,才會造成內容損壞。

繼續瀏覽 »

Dec 21

  昨日在安裝新電腦,啟用Office 2013序號時,跳出一個「很抱歉,發生錯誤,目前無法處理您的要求。請稍後再試。(0xC004C780)」,Then it jumps to the screen where you have to choose online or phone activation。

繼續瀏覽 »

Dec 20

Impression starts from high school days,As long as the cold starts with a sore throat,It always ends with a three-month cough,So I've always been afraid of colds that start with a cough,And seeing a doctor usually doesn't help much for my constitution,因此有幾年感冒都不會去看醫生後來又試了幾年會很乖的去看醫生但效果還是有限
繼續瀏覽 »

Dec 20

  先前外點同仁反應手機上的Line可以正常傳送訊息但卻無法傳送圖片而使用另外一條網路即正常研究了好一陣子想到會不會是MTU的問題剛好出問題的Sonet網路是採pppoe撥號便上網查建議數值一般建議是1492或1484而Sonicwall防火牆預設值是1500在調整過後Line即可正常傳送圖片
繼續瀏覽 »

Dec 13

>Entity Framework(often referred to as EF):
>a .NET Framework data-access technology to define and work with model classes.
>By default, the Entity Framework looks for a connection string named the same as the object context class (MovieDBContext for this project).

>Entity Framework is default to using LocalDB.

>LocalDB is a lightweight version of the SQL Server Express Database Engine
>LocalDB runs in a special execution mode of SQL Server Express that lets you work with databases as .mdf files.
>Typically,, LocalDB database files are stored in the App_Data folder of a web project.

>SQL Server Express is not recommended for use in production web applications.
>LocalDB specifically should not be used in production with a web application because it is not designed to work with IIS. However,, a LocalDB database can be easily migrated to SQL Server or SQL Azure.

Dec 13

In Microsoft's permission design,there is”Remote Desktop Users”的權限給遠端桌面使用者使用但實務上此權限常使一些應用程式無法完全正常操作使得需開放Administrator權限給給遠端桌面的使用者而User在使用遠端桌面時有時會忘了自己在操控遠端的電腦在要下班時,Maybe they just pressed the remote shutdown or reboot button directly,Causing the server to go offline。
繼續瀏覽 »