Tag - syntax

C# Keywords Tutorial Part 89: ulong

C# is a strongly-typed language that provides a wide range of data types to cater to different needs. One such data type is "ulong", which is short for "unsigned long". In this blog post, we will explore the "ulong" keyword in C# and how it can be used in code with examples. What is "ulong"...

C# Keywords Tutorial Part 75: set

C# is an object-oriented programming language that offers a variety of features to enhance the development process. One such feature is the "set" keyword. In this blog post, we'll explore what the "set" keyword is, how it works, and some code examples. What is the "set" keyword? The "set" keyword is used in C# to define...

C# Keywords Tutorial Part 71: return

C# is a powerful programming language that provides developers with a wide range of tools to create robust and efficient applications. One of the fundamental constructs in C# is the "return" keyword. In this blog post, we will discuss the various uses of the "return" keyword and provide code examples to illustrate each scenario. The...

C# Keywords Tutorial Part 70: remove

The majority of you probably know what delegates are and how they relate to events. Do you know that event accessors may be used to encapsulate events in addition to these ideas? If not, this article will assist you in comprehending event accessors' uses and benefits. Contextual keywords add and remove stand in for event...

C# Keywords Tutorial Part 63: params

C# is a versatile programming language that allows developers to create powerful and efficient applications. One of the language's features is the "params" keyword, which enables developers to pass a variable number of parameters to a method or function. In this blog post, we'll take a closer look at the "params" keyword in C#...

C# Keywords Tutorial Part 59: operator

C# is a potent object-oriented programming language that provides developers with a wealth of capabilities and resources. The "operator" keyword is one such feature that enables programmers to build unique operators for their own types. We'll examine the "operator" keyword in C# and look at some code samples to show how to use it...

C# Keywords Tutorial Part 48: into

C# is a popular and modern object-oriented programming language that offers many features to developers for creating efficient and scalable applications. Among these features is the "into" keyword, which allows developers to transform a collection of items into a new collection with a different type. This blog post will delve into the "into" keyword in...

C# Keywords Tutorial Part 42: if

In C#, the "if" keyword is a crucial control statement that allows you to conditionally execute code based on an expression or a set of expressions. In this article, we will delve into the "if" keyword in C# and offer examples to assist you in comprehending its functionality. Syntax of the "if" keyword: The syntax of...

C# Keywords Tutorial Part 26: else

The "else" keyword in C# is employed in conditional statements to furnish an alternate code block for execution in the event that the condition specified in the "if" statement is false. This blog post delves into the "else" keyword in greater depth and presents several code examples to illustrate its usage. The fundamental syntax for...