;

C# Articles


Optional parameter in C#

Tutorialsrack 07/08/2022 C#

By default, each parameter of a method is required, but in C# 4.0, Microsoft introduces optional parameters. So in this post, you’ll learn what is an optional parameter in C#. And how can you create and use optional parameters in C#? 

Read More..

How to Get Specific QueryString Parameter Value from a String Value in C#

Tutorialsrack 26/01/2022 C# ASP.NET MVC ASP.NET WEB API ASP.NET ASP.NET Core

n this article, you’ll learn how to get the specific query string parameter value from a string value in c#. We recently needed to parse and modify some query strings while building new redirects. There are various ways to achieve this but in this post, we are using the HttpUtility.ParseQueryString method and extension method to get the specific query string parameter value from the string URL.

Read More..

Substring() Method in C#

Tutorialsrack 09/08/2021 C#

In this article, you’ll learn what is Substring in C# and how to use the Substring() method in C#. A Substring in C# is a contiguous sequence of characters within a string. In other words, a substring is a portion of a string. The String class in C# represents a string. For instance, "the best of" is a substring of "It was the best of times".

Read More..
Recent Posts
Tags