About C#

C# is a simple, modern, general-purpose, object-oriented programming language developed by Microsoft within its .NET initiative led by Anders Hejlsberg. This tutorial will teach you basic C# programming and will also take you through various advanced concepts related to C# programming language. C# programming is very much based on C and C++ programming languages.

Related resources for C#
  • Visual Studio 17.8: Revolutionizing the Developer Experience11/29/2023 9:31:08 AM. Explore the latest features of Visual Studio 17.8 in our comprehensive review. Discover how Microsoft's new release enhances productivity, supports .NET 8, and responds to community feedback for d
  • Unraveling .NET Core Web API Structure11/29/2023 6:46:42 AM. Unlock the potential of .NET Core Web APIs. This guide explores their fundamental structure, HTTP methods (GET, POST, PUT, DELETE), and practical use cases for building robust and scalable application
  • Visual Studio Builds and Key Features11/29/2023 4:08:28 AM. Visual Studio Builds Since 2005 and main key features. Explore the growth of Visual Studio, Microsoft's premier Integrated Development Environment, from its inception in 1997 to the latest feature
  • Date and Time Formatting in C#11/27/2023 11:51:38 PM. This guide provides a concise overview of working with DateTime in C#. It covers the basics of the DateTime structure, including obtaining the current date and time, representing specific dates, and m
  • .NET Core: Unraveling Middleware Decoding11/27/2023 11:35:28 AM. This article will provide more details about .Net Core Middleware details, What? When? Where?. Middleware, integral in the ASP.NET Core request pipeline, manages requests and responses. Learn how midd
  • Implementing a Simple Garbage Collector in C#11/27/2023 10:43:57 AM. We are initiating a series of articles on garbage collection with a progressive approach. Our goal is to spotlight the theoretical concepts and the practical implementation, providing clear illustrati
  • Data Structures and Algorithms (DSA) using C# .NET Core — Binary Trees and Binary Search Tree (BST)11/27/2023 9:44:58 AM. In this article we will learn about - Binary Trees. Explore the fundamentals of trees and delve into binary trees, focusing on Binary Search Trees (BST). Understand key terminologies, tree traversal,
  • Microsoft Entra ID Integration with .NET 8 ASP.NET Core Application11/27/2023 9:10:20 AM. From this blog, you will learn how to integrate Microsoft Entra ID Integration with .NET 8 ASP.NET Core Web application. The streamlined integration of Microsoft Entra ID with an ASP.NET Core applicat
  • Getting Started with Humanizer in C#11/27/2023 7:59:57 AM. In this article, we'll explore how to install and use Humanizer in C#, unveiling both its basic and advanced capabilities. By the end, you'll be equipped to elevate the user experience in you
  • Publishing ASP.NET Core 8 on IIS11/27/2023 6:31:25 AM. Learn how to publish ASP.NET Core 8 on IIS. Learn the nuances of publishing ASP.NET Core 8 applications on Internet Information Services (IIS). Understand the importance of configuring code to suppor
  • Creating an Autoclose Sidebar in Blazor11/27/2023 5:57:02 AM. We'll explore how to implement a auto-collapsible sidebar in Blazor.
  • Managing Licenses with Telerik11/27/2023 4:34:06 AM. Learn how Telerik licenses work and how to manage. Learn about how Telerik licenses function, the role of license holders, and the process of managing and transferring licenses. Discover solutions for
  • Understanding Mutability and Immutability in C#11/27/2023 4:12:46 AM. short article on Understanding Mutability and Immutability in C#
  • Working with Splash Screen in .NET MAUI11/26/2023 7:24:28 AM. In this article, we will learn How to create and customize the splash screen in .NET MAUI.
  • Reading properties of an object in C#11/26/2023 5:47:50 AM. This article explores two ways to read the properties of an object in C# without knowing its type at compile time: reflection and dynamic keyword. Reflection involves inspecting and manipulating metad
  • Performing CRUD Operations Using EventStoreDB in .NET11/24/2023 10:20:44 AM. Learn to perform CRUD operations with EventStoreDB in a .NET environment. This guide covers setting up EventStoreDB, integrating it into .NET, and providing code examples for creating, reading, updati
  • Configuring Azure Key Vault in a .NET Core Web API11/24/2023 5:08:28 AM. This step-by-step guide explores integrating Azure Key Vault into a .NET Core Web API, enhancing security by securely managing sensitive information like API keys. Detailed instructions ensure a smoot
  • Sorting Arrays in C#11/24/2023 4:54:52 AM. This article guides us through sorting arrays in C# using the Array.Sort() method and LINQ queries. It covers both ascending and descending orders, providing code snippets for clarity.
  • Performance implementation Using AccelerateBuildsInVisualStudio11/23/2023 5:22:07 AM. The .NET 4.8 and lower have an update for faster incremental build in VS 17.8. Visual Studio 2022 version 17.8 introduces build acceleration for non-SDK style projects targeting .NET Framework 4.8 or
  • Calculating Date Difference in C#11/22/2023 11:06:24 AM. This article introduces the various options for calculating the date difference in C# using DateTime.Substract method, Subtraction Operator, and DateDiff Function.
  • Export Gridview to Excel Using ASP.Net C#11/22/2023 10:46:55 AM. In this article we will learn how to export a GridView to Excel using ASP .Net C#.
  • Upload/Display Image In Picture Box Using C#11/22/2023 10:41:49 AM. In this article, we learn how to browse, view and display an image path in a picture box tool using C# Windows Forms application. OpenFileDialog, PictureBox.
  • Secrets Of Accumulator Functions11/22/2023 9:21:23 AM. Accumulator functions, also known as aggregation functions or reduce functions, are essential components in functional programming and data processing. These functions operate on a collection of value
  • Console Application Wait/Busy Spin Animation11/22/2023 9:11:19 AM. Create a spinning busy animation on a background worker thread in a console applcation
  • Implementing The Saga Pattern with Rebus and RabbitMQ11/22/2023 8:44:22 AM. Delve into the Saga pattern for consistent operations in distributed systems. This article guides you through implementing the Saga pattern with Rebus and RabbitMQ, managing transactions, and ensuring
  • How To Select an Avatar Image from Popup to Set as My Profile Picture In Blazor?11/22/2023 8:38:25 AM. In this article, we have learned how to show avatar images as profile pictures.
  • WPF ComboBox11/22/2023 6:13:50 AM. WPF ComboBox in C# represents a WPF combo box control. This tutorial demonstrates how to create and work with a ComboBox control in WPF using XAML and C#.
  • New Features of .NET 811/20/2023 4:13:43 PM. This article explains the release of .NET 8, it's new features and enhancement in the .NET ecosystem.
  • Working with OleDb Data Adapters11/20/2023 2:55:24 PM. This step by step article guides you to create your database applications using OleDb Data Adapters in VS.NET.
  • Middleware in ASP.NET Core and How to Create Your Own?11/20/2023 11:53:51 AM. ASP.NET Core is a robust framework for building scalable web applications, and its middleware plays a vital role in handling HTTP requests and responses. Middleware components are key elements in the
  • Numeric ("N") Format Specifier In C#11/20/2023 11:30:31 AM. In this article I will explain how to use a numeric format specifier in C#.
  • Abstract Class and Abstract Methods11/20/2023 10:41:10 AM. In this article I will explain abstract class and abstract methods. An abstract class in C# is a class that is declared abstract. It cannot be instantiated on its own; rather, it is meant to serve as
  • Get IP Address In ASP.NET11/20/2023 10:37:16 AM. In this article, you'll learn how to get the IP address of a visitor to your website using ASP.NET and C#.
  • How To Convert Visual FoxPro DBF File To Excel In C#11/20/2023 10:34:58 AM. In this article you will learn how to convert Visual FoxPro DBF file to Excel in C#.
  • Partial Classes In C# with Real Example11/20/2023 10:27:45 AM. C# Partial Class. Partial classes were introduced in C# 2. A C# Partial class can reside in multiple cs files with the same name. C# partial classes code examples.
  • Getting Started with .NET Aspire for Production Ready Cloud Native Apps11/20/2023 10:04:13 AM. .NET Aspire is a user-friendly solution designed for crafting applications ready for the cloud. It simplifies the development process, allowing developers to focus on their core business logic. Packag
  • ProgressBar In C#11/20/2023 10:02:54 AM. C# ProgressBar control of WinForms allows track and show progress of an operation. The code example in this article demonstrates how to use a Progressbar control to build UI with progress.
  • Ways to Bind DataGridView in C# Windows Forms11/20/2023 9:01:03 AM. I would like to share multiple ways to bind a DataGridView to a Window Forms form using C#.
  • Sending WhatsApp Text And Media Messages Using C# Console App11/20/2023 8:26:12 AM. In this article, we will send Whatsapp text and media to a registered number using the C# console app.
  • DataGrid in WPF11/20/2023 6:13:39 AM. WPF DataGrid. WPF DataGrid control displays tabular data in a grid format. In this tutorial, you'll learn how to use a WPF DataGrid control, set its properties, and display data from a collection.
  • How To Create ASP.NET Core MVC Application?11/20/2023 6:08:51 AM. An ASP.NET Core MVC (Model-View-Controller) application is a type of web application framework developed by Microsoft. It is designed for building modern, dynamic web applications. Here's what eac
  • Empowering Developers with .NET 811/20/2023 5:34:28 AM. Step into the realm of .NET 8, the latest iteration of Microsoft's open-source platform that empowers developers to craft cutting-edge applications. With its focus on enhanced performance, cloud-n
  • Entity Framework Code First And Migrations: Part Two11/20/2023 5:31:16 AM. In this article, you will get an introduction to Entity Framework using C#, code first, and migrations.
  • Value Types vs Reference Types in C#11/19/2023 6:02:26 AM. This comprehensive guide delves into the fundamental concepts of C# data types, distinguishing between value types and reference types. Covering characteristics, pros and cons, key differences, and be
  • JSON Serialization and Deserialization in C#11/19/2023 5:20:30 AM. In this article, you will learn about JSON serialization and deserialization in C#. We can implement JSON Serialization/Deserialization by using JavaScriptSerializer class, DataContractJsonSerializer
  • Entity Framework using C#11/18/2023 11:35:55 AM. Entity framework in C# is an object relational mapping framework. In this article, we will see how to use Entity Framework in a C# application.
  • Securing Your .NET Core APIs11/18/2023 6:19:41 AM. This article explains how you can secure your .NET Core APIs with essential practices. It covers JWT authentication, role-based authorization, HTTPS implementation, input validation, and rate limiting
  • Create Basic Calculator Using Windows Forms And C#11/18/2023 5:21:53 AM. In this article I am going to show you how to make a very basic Calculator application using Windows forms application and C#.
  • Create XML in C#11/17/2023 11:41:22 AM. In this article, we will learn how to create an XML file in-memory and write it to the local storage using C# and .NET.
  • ListView in C#11/17/2023 9:13:48 AM. The ListView in C# provides an interface to display a list of items using different views including text, small images, and large images. In this tutorial, we will learn how to work with the Windows F
  • Creating Class Library in Visual C#11/17/2023 8:23:50 AM. In this article we will see steps to create and use a class library in ASP.NET/Visual Studio.
  • Inserting 1 Million Dummy Product Data into SQL Server Using Bogus Package11/17/2023 7:36:39 AM. When working with databases, populating them with substantial amounts of data for testing or demonstration purposes is crucial. The Bogus package in C# provides a convenient way to generate fake data,
  • Flask in Python11/17/2023 6:54:13 AM. Flask, a nimble and versatile Python web framework renowned for its simplicity, offers an uncomplicated approach to web application development. Its minimalist design provides the essentials for swift
  • Optimizing Resource Management in .NET HttpClient with Cancellation Tokens11/17/2023 5:23:52 AM. The .NET HttpClient class is a powerful tool for making HTTP requests, but it may lead to resource issues if not managed properly. Cancellation tokens in C# provide a mechanism to interrupt ongoing op
  • Bulkhead Pattern for Robust Software Systems in C#11/17/2023 5:15:45 AM. The Bulkhead Pattern in software architecture, inspired by ship bulkheads, involves segregating resources to contain failures and enhance system stability. In C#, it can be implemented for scenarios l
  • Using Objects Comparer To Compare Complex Objects In C#11/16/2023 11:00:30 AM. Objects Comparer framework provides a mechanism to compare complex objects, and allows us to override comparison rules for specific properties and types.
  • Keyed Dependency Injection in .NET 811/16/2023 7:44:47 AM. Keyed dependency injection, introduced in .NET 8, is a powerful feature allowing service resolution based on specific keys. This enables managing multiple implementations of the same interface efficie
  • Introduction To NUnit Testing Framework11/16/2023 7:01:13 AM. In this article we are going to learn the basics of Nunit.
  • How to Choose Between Inheritance and Composition?11/16/2023 6:41:17 AM. When to use composition over inheritance and vice versa as a coding best practice.
  • ComboBox In C#11/16/2023 6:31:46 AM. C# ComboBox is a combination of a TextBox and a ListBox control. Only one list item is displayed at one time in a ComboBox and other available items are loaded in a drop down list. In this article, yo
  • How to Create Word Document Using C#11/16/2023 5:52:37 AM. This article shows how to create a Word document using C# and Office 2013.
  • Understanding NavLink in Blazor11/16/2023 5:10:41 AM. One of the key features of Blazor is the NavLink component, which provides dynamic navigation functionality for client-side routing. In this article, we will explore the basics of NavLink in Blazor, a
  • C# Artificial Intelligence (AI) Programming: A Basic Object Oriented (OOP) Framework for Neural Networks11/15/2023 11:39:44 AM. A Neural Network is an Artificial Intelligence (AI) methodology that attempts to mimic the behavior of the neurons in our brains. In this article, we’ll be building a basic framework for AI Neural Net
  • Insert, Update and Delete Records in a C# DataGridView11/15/2023 11:39:40 AM. This article shows how to insert, update and delete records in a DataGridView in a C# Windows Forms application.
  • Interface Segregation Principle (ISP) in .NET 6 Core11/15/2023 10:55:55 AM. As we navigate the SOLID principles in the realm of .NET 6 Core, the Interface Segregation Principle (ISP) takes center stage. This principle emphasizes creating specialized interfaces for clients rat
  • New feature for Authentication and Authorization in .NET 811/15/2023 10:44:06 AM. Let's check out the cool new things that .NET 8 has added to help you keep your apps secure.
  • Implementing gRPC in .Net Core11/15/2023 10:33:58 AM. Article on how to use gRPC in .Net Core. This article provides a step-by-step guide on implementing gRPC in a .NET Core project, covering essential aspects from creating proto files to adding authoriz
  • Getting Started With Unit Testing Using C# And xUnit11/15/2023 9:52:35 AM. Unit Testing is a software testing approach which performs at the time of the development to test the smallest component of any software. It means rather than testing the big module in one go, you tes
  • Dispose() and Finalize() Methods in C#11/15/2023 9:19:50 AM. The article explains a major difference between dispose and finalize methods.
  • Sending an E-Mail With Attachment Using ASP.Net11/15/2023 8:45:11 AM. In daily development we need to add some mail functionality to our project, in this article I am going to show you, how you can do this.
  • Cancellation Token in C#11/15/2023 7:42:42 AM. This article provides a comprehensive overview of using CancellationToken and CancellationTokenSource in C# for managing asynchronous operations. It covers key components, usage, handling, and best pr
  • VS 2022 Reveals System.Runtime.CompilerServices.Unsafe Vulnerability11/15/2023 7:23:46 AM. The recent version of Visual Studio 2022 revealed a vulnerability in ASP.NET WebForms.while updating Windows on Patch Tuesday and releasing the latest version of Visual Studio 17.8 and .NET 8 LTS, I u
  • What is BSON and Data Types in MongoDB?11/15/2023 7:17:36 AM. Choose the best BSON DataTypes with C# and phyton Samples. MongoDB stores and exchanges data in a format known as BSON (Binary JSON), a binary equivalent of the JSON data format.
  • Design Pattern with .NET Delegates11/15/2023 6:13:19 AM. Your article is detailed and well-structured, providing a clear explanation of implementing design patterns using generic delegates.
  • AI and the Future of Work: A New Era of Human Empowerment11/15/2023 6:08:41 AM. It's true that AI is transforming the future of work, but it doesn't mean human jobs are in danger. Learn how AI tools can enhance your skills, make you more valuable to your company, and keep
  • Basic Authentication with ASP.Net Core Web API Using MySQL Server11/15/2023 6:06:58 AM. This article provides a comprehensive guide for implementing Basic HTTP authentication in a .NET 3.1 API with C#. The step-by-step instructions, code snippets, and explanations seem well-organized.
  • Tuples in C# with examples11/15/2023 5:14:01 AM. This article on tuples in C# is well-structured, providing a clear and detailed explanation of the topic. It covers the basics, named tuples, returning multiple values from a method, tuple deconstruct
  • Design Patterns and Steps to Implement Singleton Class in C#11/13/2023 6:56:50 AM. Design patterns is the important features of object oriented programming. We need to ensure that only one object of a particular class is instantiated in Singleton design pattern in C#.
  • Automatically Settings Class for Saving and Loading11/12/2023 9:08:30 AM. Simple generic and class to save and load settings to and from a json file. Your implementation of the MySettings class is a neat and effective way to handle saving and loading settings in a Windows F
  • Optimizing Database Access in .NET11/10/2023 7:04:46 PM. Optimizing database access in .NET involves picking the best tools, improving queries, managing connections efficiently, using caching, and monitoring performance. By doing this, you ensure your .NET
  • Difference Between Overriding and Overloading Methods in C#11/10/2023 5:54:21 AM. Let's know the difference between Overriding and Overloading methods with example.
  • Interface Segregation Principle in Object-Oriented Design11/10/2023 5:36:10 AM. This article explains about Interface Segregation Principle (ISP), and its application in C# is clear and well-illustrated through the example of a shape drawing application. Breaking down a generic I
  • Difference Between Concurrency and Parallelism in C#11/9/2023 5:31:39 AM. The article you provided gives a comprehensive overview of the concepts of concurrency and parallelism and their relevance in C# programming. It highlights the distinctions between the two concepts an
  • How to Secure your .Net Core API Through Identity Server 411/9/2023 5:08:59 AM. A brief description of how to implement Identity Server 4. This article explains that setting up and configuring IdentityServer4 in a .NET application is comprehensive and provides a clear step-by-ste
  • Load User Control Dynamically Using C#11/8/2023 7:32:20 AM. In this article we will learn how to load the user-control onto the page dynamically.
  • BufferedStream, MemoryStream and CharacterStream Class in C# 11/8/2023 7:22:00 AM. In this article I will explain you about BufferedStream, MemoryStream and CharacterStream Class in C#.
  • Object Mapping in .NET with AutoMapper11/8/2023 5:24:58 AM. This article on AutoMapper provides a comprehensive overview and introduction to the topic, making it easily accessible for readers who are unfamiliar with the concept. The step-by-step approach in ex
  • How To Use Dynamic To Return Different Objects On Runtime In C#11/7/2023 11:29:41 AM. A lot of time you get a requirement to return different kind of object from a single method. Is it possible? Yes there are ways by which you can deliver different objects on run time and dynamic is on
  • Excel DropDownlist Change Event Using VBA11/7/2023 10:11:29 AM. This article describes how to handle the worksheet change event using VBA. The Visual Basic Editor is a program within Excel that allows you to communicate with Excel.
  • What is Access Modifiers in C#?11/7/2023 9:21:09 AM. In this article, we have covered the topic about access modifiers in C# and how many types of access modifiers in C#.
  • .NET MAUI with MVVM Toolkit11/7/2023 7:09:33 AM. Mastering MVVM: A Deep Dive into .NET MAUI with MVVM Toolkit. This article providse MVVM (Model-View-ViewModel) architecture using the MVVM Toolkit in .NET MAUI is informative and well-structured. It
  • IOptions and IOptionsSnapshot Interfaces11/7/2023 4:02:02 AM. The provided example for using IOptions<T> and IOptionsSnapshot<T> illustrates their usage within the ConfigureServices method and in a service or controller, giving readers a practical un
  • Params Keyword With IEnumerable In C# 6.011/6/2023 11:31:48 AM. The params keyword in C# allows you to pass a variable number of arguments of the same type to a method. This feature simplifies method calls when you need to pass a variable number of arguments witho
  • Building a Web API with C# Records for DTOs11/6/2023 10:57:14 AM. This blog article explores the use of C# records for Data Transfer Objects (DTOs) in ASP.NET Core Web API development. It offers insights into the benefits and practical application of C# records, usi
  • Simplify Your Code with Switch Expressions: Patterns and Examples11/6/2023 10:45:23 AM. In C#8 switch statement enhanced with powerful feature that can simplyfy your code and make it more readable and maintainable. In this article We will explore into C# 8 switch expression and how to us
  • Comments in C#11/6/2023 9:39:15 AM. In this article I will explain about comments and there usage in code.
  • Different Types of Comments in C# and Their Usages11/6/2023 9:21:50 AM. This article will explain the different types of comments in C# and why should we use comments.
  • Cookie vs. Session vs. Local Storage11/6/2023 6:07:18 AM. cookies are small pieces of data stored in a user's browser, often used for limited-size, temporary information like session tokens and user preferences. Session storage, on the other hand, serves
  • What are Constructors in OOPS?11/3/2023 8:20:25 AM. This article provides a clear and concise explanation of their purpose and functionality in object-oriented programming. The code example and the subsequent explanation effectively demonstrate how con
  • Break Vs Continue in C#11/2/2023 4:50:24 PM. In this article you will learn about Break Vs Continue explanation in C# language.