Author Archives: saikk - Page 10
How to check if an appSettings key exists or not in web.config?
Problem Statement There might be a chance of missing the appSettings Key and it leads to an runtime exception when system doesn't found particular Key. Solution For this we have…
Using Caller Information attributes in C#
Caller Information attributes are newly introduced in Framework There are three attributes which are more helpful in tracing, debugging and diagnosis the application. These attributes will provide some information about…
Issue: The length of the string exceeds the value set on the maxJsonLength property
Problem Statement Many people had faced with their MVC Applications with the following issue. Error during serialization or deserialization using the JSON JavaScriptSerializer. The length of the string exceeds the…
Working with new Value Tuple Data Structure in C# 7.0
Problem Statement: Want to return multiple results from the single method of different types. To achieve this functionality, there are three methodologies until Framework version * and following are those…
Working with Local Functions in C# 7.0
Today we will learn something cool feature called Local Functions in our newly upgraded version of C# , As we already know about Public and Private functions in our C# language.…
Working with Concurrent Dictionary in C#
Concurrent Dictionary is a new member of Collection family and this Dictionary will be used to handle multiple threads scenarios. Let's dig more into this collection. ConcurrentDictionary can be found…
Do we need to use Newtonsoft.Json.JsonConvert.DeserializeObject() or Newtonsoft.Json.Linq.JToken.Parse()?
So many people got this question like to deserialize any JSON string should we need to use ()or ()method?? Let begin the explanation uses LINQ-TO-JSON API internally to loop through…
How Inheritance is importance in Object Oriented Programming?
One of the important features in the Object Oriented Programming is Reusability, as we said above that it is always a good way to reuse the already existing functionality rather than…
Short Notes about Abstract Classes
An abstract class is a class that is designed to be specifically used as a base class. An abstract class contains at least one pure virtual function. You declare a…
Explaining briefly about Object Oriented Programming
The world can be considered to consist of many objects. Objects will have attributes and behaviors. A water heater is a simple example of an object. It has certain attributes…






