In this video we will learn about the Practical use of Server.MapPath() method with an example.
Tilde(~) symbol resolves to the root application directory, no matter how deep you are in the folder hierarchy. This is the advantage of using ~(tilde), over ..(2 Dots). The following code would work from any folder in our application.
Where as, the following code will only work from folders, that are 2 levels deeper relative to the root directory of the application.