Learn it from developers who built it.
Tutorials, how-tos and deep dives on AI, .NET, C#, cloud and developer tools, written by the community.

In this article, you are going to see a detailed working process of the Excel Exporter tool which is created in C#.

It’s an elegant and type safe object-oriented language that enables us to build a variety of applications

We know that C# supports const and readonly variables and generally uses them interchangeably, but we also should notice that they offer different behaviors. Always remember, const is compile time and readonly is runtime. This will always help in choosing the correct one according to situation.

In this article, we will try to understand use of var and dynamic keyword in C#.

This article demonstrates how to integrate "Log in using Google account" functionality to your web application. There are many ways to integrate it. Here, I will explain how to integrate using REST API. Before you can integrate Google Sign-In into your website, you must create a Google API Console project and client ID, which you need to call the sign-in API.

Firebase is a platform provided by Google, which provides many services. Firebase Realtime Database is one of them. Firebase provides many SDKs for different platforms as well as it provides REST API to interact with database. Here we will build wrapper in C# around REST api to easily perform CRUD operations in our C# applications.

Before we get started between the difference of value type variables and reference type variables, we need to understand the concept of stack and heap. So let’s get started with stack and heap.

C-Sharp introduce no big concepts but many small features that makes you keep cleaning your code, get rid of boilerplate and let you stand up more clearly.

In this article, I am going to explain the concepts of some useful keywords like Ref & Out parameters. These keywords are used along with the data to be passed to a function as parameter. Below I will explain a brief explanation about each of these keywords with an example.

This article is the second part of the series of Creating Accounting applications with C# Tutorial. If you didn’t read the first part, please have a look at it before continuing with this.


In this article, you will learn to create an Accounting Application with a C# Tutorial.

Learn the differences between const, readonly, and static readonly fields in C#, including when values can be assigned and accessed.

This article is about a notification dispatch mechanism that enables the broadcast of information to registered observers.

In this article, you will easily learn how to use web API in a desktop application using .NET client.

An XML Web service should be identified by a namespace that is controlled by its company. For example, a company's Internet domain name could be used as part of the namespace. Although many XML Web service namespaces look like URLs, they need not point to actual resources on the Web.

In this post, we will learn how to use DocX library to create a Word document from Visual Studio using C# language.

One of the background parts of most systems I write involves messaging of some kind ... more often than not, the default is email notification of one thing or another. When I need to carryout large scale mail-outs I always use one for the major Azure services, but when I only need adhoc mail operations or low volume, I use a combination of an SMTP Client and a DNS MX Lookup.

In this article, I am going to explain how we can CREATE, UPDATE, DELETE and READ the records in Excel files.

This article explains the new features of C# 7.2. It covers ‘ref readonly’, ‘private protected’ access modifier, Digit Separator After Base Specifier (Leading Digit Separator) and Non-trailing named arguments.

Learn why C# delegates are useful through a WPF example that runs a long task asynchronously and updates the UI when it completes.

While learning design patterns, I came to understand the most frequently used term, Factory Pattern as well as Abstract factory pattern. I searched the internet and came across numerous learning points. After a lot of search and study, I endeavored to find an actual need for the abstract design pattern.

Garbage collector looks for an instance/object which is not required anymore and treats these objects/instances as ready to destroy. Then, it makes a call to the destructor to release the memory and deallocate the resources.

What is Expression Bodied Members?1) Expression Bodied member is introduced in C#6.0 and enhanced in C#7.0. 2) Expression Bodied is a new technique or implementation to make code concise and readable. 3) Expression Bodied makes the type member(Constructor, Destructor, Methods, Property, Indexer) defined in a single expression. 4) Expression Bodied members can only be applied to the below list of type members: Constructor introduced in C#7.0 Destructor introduced in C#7.0 Property get accessor introduced in C#6.0 Property set accessor introduced in C#7.0 Methods introduced in C#6.0 Indexer introduced in C#7.0 The Syntax of expression body definition is:member => expression; where expression should be a valid expression and member can be any from above list of type members.Suppose we have a method or constructor that contain a single expression or line of code. Then In spite of using the traditional way to write code inside a method or constructor code block, we can write them as a single syntax. Those members who can follow this approach is known as Expression Bodied Members.

This article explains the “in” parameter method overloading with Visual Studio 2017 Version 15.6. Preview 2.

In this series of learning singleton patterns, we learned lazy initialization and eager initializations with practical examples. We also learned why it is necessary to make the singleton class sealed with sealed keyword. In this article, I’ll try to explain the differences between static and singleton class and where to use static and where to use singleton classes.

I always wanted to write about Singleton design pattern in C#. Though there already are many posts available on Singleton design pattern, I’ll try to cover this topic in the most simplistic and easy to understand way.

In this article we will design the UI of Microsoft Office 2013 applications like Word, PowerPoint, Excel etc.

Hyper IDE [link to https://github.com/polterguy/hyper-ide] is an Open Source web-based Integrated Development Environment. It supports 100+ progamming languages out of the box, and can be integrated with any type of command line tools, such as Git, compilers, etc. This leads to some interesting traits, such as the ability to actually create for instance C# console apps, from the browser on your phone. For the record, writing code on a phone, is not easy, and not something I encourage people to do in general. However, the border line use cases have interest.

Learn how to use the C# PIConnect DLL to perform semi-integrated credit, debit, EBT, batch, and tokenized payment transactions with PAX terminals.
Everything on C#, not only its articles: the C# page →
Write an article and earn +1,000 SHARP when it is approved.
Write an article