What is the meaning of i.e and e.g.

Source: http://answers.yahoo.com/question/index?qid=20060606021455AA1oDi4 i.e. means “that is” it’s from the latin “id est” I like to eat vegetables (i.e. I enjoy their taste) e.g. means “for example” it’s from the latin “exempli gratia” I like to eat vegetables (e.g. carrots and broccoli)  

What is the difference between String and string?

Source: http://stackoverflow.com/questions/7074/whats-the-difference-between-string-and-string/7077#7077   string is an alias for System.String. So technically, there is no difference. It’s like int vs.System.Int32. As far as guidelines, I think it’s generally recommended to use string any time you’re referring to an object. e.g. string place = “world”; Likewise, I think it’s generally recommended to use String if you need to refer specifically to the class. e.g. string greet = String.Format(“Hello … Read moreWhat is the difference between String and string?

How to properly exit a c# application

From MSDN: Application.Exit Informs all message pumps that they must terminate, and then closes all application windows after the messages have been processed. This is the code to use if you are have called Application.Run (WinForms applications), this method stops all running message loops on all threads and closes all windows of the application. Environment.Exit … Read moreHow to properly exit a c# application