JSON stands for Javascript Object Notation and this is the new lightweight (then XML) standart for transferring data from one point to another over the network. Here you can find a sample web page codebehind to see usage in C#. Static methods in ‘Functions‘ class Happy codings…
Converting a List of Inherited Type to a List of Base type
For example you have a base class and a class that inherits it like below. And you have generic list of these types. Then if you want to convert List<B> to List<A> You can use this code block: Happy coding.
Changing your hosts file in Windows
In Windows, Hosts file is a read only hidden system file. So that you cannot edit that file. Also running notepad as an administrator doesn’t solve this problem.There are a lot of articles about this topic but none of them giving this solution. You can solve this by typing some DOS commands at command line: […]