The Domain Name System (aka DNS) is used to resolve human-readable hostnames like en.wikipedia.org into machine-readable IP addresses like 220.127.116.11. DNS also provides other information about domain names, such as mail services,Here is small cartoon intro to explain this.
When people explain how a browser downloads a web page, they usually explain it this way, Here is a small cartoon intro how HTTP works.
We need a class that has only one instance, and we need to provide a global point of access to the instance. We may also want to make sure that our solution is thread safe.
Many times we need to know executable path of Application and some time we need to know the path of assembly which is loaded. There are many options to get the location but not all are good as we think.
Regular expressions provide a powerful, flexible, and efficient method for processing text. The extensive pattern-matching notation of regular expressions enables you to quickly parse large amounts of text to find specific character patterns; to validate text to ensure that it matches a predefined pattern (such as an email address); to extract, edit, replace, or delete text substrings; and to add the extracted strings to a collection in order to generate a report. For many applications that deal with strings or that parse large blocks of text, regular expressions are an indispensable tool.