Tag archives for C# - Page 5
Find given number is Palindrome Number or Not ?
What is Palindrome Number? A Palindrome number or numeral palindrome is a number that remains the same when its digits are reversed ( 11,121, 1331,12321). using System; namespace PalindromeNumber {…
Find given number is Prime or Not? Using Recursion & Non Recursion Methods.
What is Prime Number ? A number that is divisible only by itself and 1 ( 2, 3, 5, 7, 11). using System; using ; using ; using ; using…
Naming Conventions in C#.Net
For any developer, Naming Convention is a best practice to work on any development project. Let’s discuss more about Naming convention in this article. Why Naming Conventions? Naming Convention is…
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…