Latest Posts On Code Maze

C# Intermediate – Anonymous and Nullable Types

C# Intermediate – Anonymous and Nullable Types

In this article, we are going to talk about anonymous classes, how to create them, and why they are useful. Moreover, we are going to talk about nullable types and how to use them with the value types and what properties we have with the nullable types. Classes and...

C# Intermediate – Properties

C# Intermediate – Properties

A property is a member that provides a flexible tool to read and write the value of a private field. We use them as public data members but actually, they are specific methods called accessors. In this article, we are going to talk more about properties and how to use...

C# Intermediate – Classes and Constructors

C# Intermediate – Classes and Constructors

The word “class” is the root of the word “classification”. When we create our class we systematically arrange information and behavior into a meaningful entity. We don’t use classification only in software development, we are doing the same in real-life situations. So...

C# Back to Basics – File and Directory Classes

C# Back to Basics – File and Directory Classes

File and Directory classes contain different static methods for manipulating the files, directories, and subdirectories. These classes exist in the System.IO namespace. So, let’s inspect some of the most used methods of both classes. Development Environment Setup Data...

C# Back to Basics – Files, StreamWriter and StreamReader

C# Back to Basics – Files, StreamWriter and StreamReader

It's time to learn how to work with files in C#. For that purpose, in this article, we will cover two classes StreamWriter and StreamReader. Development Environment Setup Data Types, Declarations and Variable Definitions Operators in C# Type Conversion Input and...

C# Back to Basics – Arrays

C# Back to Basics – Arrays

We often have a situation where we need to use a couple of variables of the same type and to execute the same operation on each of them. Imagine if we need hundreds of variables or even more, well we can agree upon a fact that creating a hundred variables of the same...

C# Back to Basics – Recursion and Recursive Methods

C# Back to Basics – Recursion and Recursive Methods

In this article, we are going to talk about Recursion and Recursive Methods in C#. Furthermore, we will learn how to use recursive methods and how they differ from regular methods. Development Environment Setup Data Types, Declarations and Variable Definitions...

Difference Between Ref and Out keywords in C#

Difference Between Ref and Out keywords in C#

In this article, we are still going to talk about methods but from a different perspective. We are going to learn how to pass our arguments by using the ref and out keywords. Development Environment Setup Data Types, Declarations and Variable Definitions Operators in...

C# Methods

C# Methods

In this article, we are going to learn more about methods. We are going to learn how to use methods in C#, what is the method signature, and how to use parameters and arguments. If you want to download the source code for our examples, you can do...

C# Access Modifiers

C# Access Modifiers

In this article, we are going to explain different types of access modifiers in C# and what their purpose is. For the complete navigation of this series check out: C# Back to Basics. [sc name="github"...

While, For, Do-While Loops in C#

While, For, Do-While Loops in C#

In this article, we are going to learn how to use loops in C#, what type of loops exist, and when to use them. We will use a couple of examples to closely explain the usage of each loop in C#. If you want to download the source code for our...

Working With Strings in C# – String Methods

Working With Strings in C# – String Methods

The string type represents a character array, and its length is determined by the Length property. All the character positions inside that string are enumerated from 0 to Length-1. C# provides us with many different methods to work with strings and we are going to...

Top Docker Monitoring Tools

Top Docker Monitoring Tools

As more and more companies tend to adopt the DevOps trend in their software development process, DevOps has slowly become a set of practices rather than a concept. It is about finding a smooth interaction between development and operations in order to overcome the...

Type Conversion in C#

Type Conversion in C#

In C#, data can be converted from one type to another by using an implicit conversion (automatic) or an explicit conversion (we can choose how it’s done). Development Environment Setup Data Types, Declarations and Variable Definitions Operators in C# Type Conversion...

Operators in C#

Operators in C#

In this article, we are going to talk about operators in C#, how to use them, and what are the differences between each of them. Development Environment Setup Data Types, Declarations and Variable Definitions Operators in C# (Current article) Type Conversion Input and...

Continuous Integration with Jenkins and Docker

Continuous Integration with Jenkins and Docker

We’ve discussed why continuous integration is important, what makes a good CI tool and we've learned how to use TeamCity to build, test and deploy a “dockerized” .NET Core Application. As Jenkins is one of the most popular CI tools on the market with over a thousand...

Data Types, Declarations and Variable Definitions in C#

Data Types, Declarations and Variable Definitions in C#

In C#, different data types are registered differently. Furthermore, different actions are allowed to be executed upon them as well. For different data types, a certain amount of memory space is reserved on our computers. With each data type we define: How to register...

C# Basics – Development Environment Setup

C# Basics – Development Environment Setup

In this article, we are going to talk about what IDE is and how we can use Visual Studio to create a new project. Development Environment Setup (Current article) Data Types, Declarations and Variable Definitions Operators in C# Type Conversion Input and Output in C#...