Tag - dotnet

C# Keywords Tutorial Part 94: value

Many developers utilize the robust and adaptable programming language C# to build a variety of apps. The usage of keywords in C#, which offer a convenient method to refer to particular programming concepts, is one of the characteristics that contribute to the language's adaptability. The term "value," which is one of these keywords, is...

C# Keywords Tutorial Part 78: stackalloc

C# is a contemporary object-oriented programming language that is widely employed in creating various applications. One of its beneficial features is the ability to allocate memory on the stack with the use of the stackalloc keyword. This allows for quicker memory allocation and deallocation than the standard heap allocation methods. In this article, we'll...

C# Keywords Tutorial Part 73: sealed

The "sealed" keyword in C# is used to limit a class's or a member's ability to inherit from another class. A class or member thereof that has the designation "sealed" cannot be inherited by another class or overridden by a derived class. We will examine the C# term "sealed" and instances of its usage...

C# Keywords Tutorial Part 68: readonly

In C#, the readonly keyword is used to declare that a field or variable can only be assigned a value once, either at the time of declaration or in the constructor of the class where it's defined. Once assigned, the value cannot be changed for the lifetime of the instance. Here's a brief explanation and...

C# Keywords Tutorial Part 25: dynamic

C# is a potent programming language that provides developers with an array of features. One of these features is the "dynamic" keyword, which permits dynamic typing during runtime. This blog post will examine the "dynamic" keyword in C# and furnish some code examples to demonstrate its usage. What is the "dynamic" keyword in C#? When declaring...

C# Keywords Tutorial Part 24: double

C# is a powerful programming language that provides a wide range of data types to work with. One of the most commonly used data types in C# is the "double" keyword. In this blog post, we will explore the "double" keyword in C# and provide some code examples to help you better understand how...

C# Keywords Tutorial Part 13: catch

C# is a modern, object-oriented programming language that is widely used to develop a wide range of applications. One of the key features of C# is its robust error handling mechanism, which allows developers to write code that can handle errors gracefully. The "catch" keyword is an essential part of C#'s error handling mechanism. It...

C# Keywords Tutorial Part 4: ascending

C# is a strong programming language with a variety of features that aid programmers in creating orderly, effective code. The word ascending, which is used to sort data in ascending order, is one of these properties. We will discuss the ascending keyword in C# and give usage examples in this blog article. What is the...

C# Keywords Tutorial Part 3: as

Casting, often known as explicit type conversion, is done in C# with the "as" keyword. In particular when working with inheritance and interfaces, it is a safer technique to change the type of an object. We'll examine the "as" keyword's functionality in C# and present code samples to demonstrate how to use it in this...

.NET v7.0 Features Will Change the Way You Code

The.NET 7 framework has recently released some incredible new features that will change the way you code. They haven't been officially released yet, but you can start playing with them now to prepare for when they do in November! The latest.NET Framework preview has been made available to the public, and it is full of...