C# is a multi-paradigm programming language. This section contains C# related articles and syntaxes.


  • Hardik Deshani

    How To Convert System.Byte To A System.io.stream Object Using C#

    In this post, we will learn about how to convert byte to stream using c# console application. In this example first, we read all the bytes from the file using File.ReadAllBytes method than using Me...
    Hardik Deshani Jul 31, 2018
  • Kanimozhi M

    String Left, Right And Mid Functionalities In C# Winforms

    In this post, we will learn how to handle string operations for common methods.
    Kanimozhi M Jul 31, 2018
  • Jignesh Kumar

    New C# 7 Features - Ref Returns And Out Variables - Part Three

    This blog explains the improvement for ref returns and out variable in C# 7.0.
    Jignesh Kumar Jul 31, 2018
  • Gaurav Gupta

    Difference Between Var And Dynamic In C#

    The keyword 'var' was introduced in C# 3.0 (.NET 3.5 with Visual Studio 2008) and the type 'dynamic' was introduced in C# 4.0 ( .NET 4.0 with Visual Studio 2010). Let us see the dif...
    Gaurav Gupta Jul 30, 2018
  • Suman Kumar Sahu

    Selenium Automation Using C# - Part One

    In this blog, we are going to automate a website using C# Selenium. It is a first step of automate.
    Suman Kumar Sahu Jul 30, 2018
  • Jignesh Kumar

    New C# 7 Features - Is Expression With Patterns And Switch Statement With Patterns - Part Two

    This article explains Is Expression with Patterns and Switch statement with Patterns which makes developers lives easy.
    Jignesh Kumar Jul 27, 2018
  • Karthik Chintala

    How C# Compiler Looks At Switch Case Statements

    Every developer writes a switch case statement at least once in their life of programming but as he/ she understands the switch is no longer maintainable they tend to look for patterns and do refac...
    Karthik Chintala Jul 25, 2018
  • Neven Stojanovic

    Debug In C#

    In this blog, this term will be developed under the emphasis on developing Desktop Windows applications using WPF and XML
    Neven Stojanovic Jul 25, 2018
  • Jignesh Kumar

    C# 7.0 New Features - Binary Literal, Digit Separator And Local Function - Part One

    This Article explains the new features of C# 7.0 and it covers features like binary literal, digit separator and local function.
    Jignesh Kumar Jul 25, 2018
  • Sateesh Arveti

    C# Debug Vs Conditional Debug

    In this video, we will discuss about #if preprocessor directive with DEBUG vs Conditional DEBUG to compile a piece of code in DEBUG mode only.
    Sateesh Arveti Jul 25, 2018
  • Gajanan Chavhan

    Understanding Use Of Properties In C# With Example

    In this blog, I will try to explain in details about use of Properties in C# with example.
    Gajanan Chavhan Jul 25, 2018
  • Ruchi Sharavat

    How To Add Custom Validator For Any Model In C#

    In this article, we will discuss how to add a custom validator for any model in C#.
    Ruchi Sharavat Jul 20, 2018
  • Karthik Chintala

    Generating Sequence Numbers In LINQ Query Using C#

    In this post, we'll see how to generate sequence numbers along with the data that we need in LINQ C#.
    Karthik Chintala Jul 19, 2018
  • David Mccarter

    Determine User OneDrive Folders Without The Microsoft.OneDriveSDK

    Recently while working on my dotNetTips.Utility Dev App, I realized I was determining the location of the users OneDrive folder wrong, especially if they have more than one OneDrive account, like m...
    David Mccarter Jul 17, 2018
  • Jefferson S. Motta

    Implementing ExtensionMethod For System.IO

    In this post, I'll show a way to manipulate files and folders using strings using C# Extension Method.
    Jefferson S. Motta Jul 06, 2018
  • Hardik Deshani

    Split String Using Regex.split (Regular Expression) In C#

    In this post, we will learn about how to split the string using Regex in c#.
    Hardik Deshani Jul 06, 2018
  • Hardik Deshani

    How To Access Network Drive Using C#

    In this post, we will learn about how to access a Network folder (drive) using c# code.
    Hardik Deshani Jul 05, 2018
  • Faisal Pathan

    Create Windows Services In C#

    Here I’m going to explain Windows Services in the c# .Net. • Introduction of Windows Services. • How to create Windows Services in the c# .Net.
    Faisal Pathan Jul 05, 2018
  • Karthik Chintala

    Difference Between Awaiting A Method Vs Awaiting A Task

    This blog post show what happens when a Task is awaited and a Method is awaited.
    Karthik Chintala Jul 04, 2018
  • Andrea Angella

    Practical Introduction To Unit Testing In C# And Visual Studio

    Learn what is unit testing and how you can easily get started writing unit tests using C#, Visual Studio, and NUnit.
    Andrea Angella Jul 03, 2018
  • Gajanan Chavhan

    Why Calling A Virtual Method In Base Class Constructor Is A Bad Practice

    In this blog I will try to explain Why calling a virtual method in base class constructor is a bad practice
    Gajanan Chavhan Jun 28, 2018
  • Hemant Jindal

    How Events And Delegates Are Related

    This articles describes about what is delegate, what are the different ways to define and declare delegates, when to use delegates, what is event and how events and delegates are associated or rela...
    Hemant Jindal Jun 28, 2018
  • Rajendra Tripathy

    Excel Export - Using "ExcelPackage" (EPPlus)

    The limit of records (row items) that can be exported to Excel from client-side function varies between browsers. Every browser has its own limitations and I'm afraid that in most cases we don&...
    Rajendra Tripathy Jun 28, 2018
  • Mukesh Kumar

    Two Ways To Insert Bulk Data Into Oracle Database Using C#

    This article will explain how we can insert bulk amount of data in Oracle database using C#. Generally, what happens, we insert one by one record into the database, but sometimes, we have requireme...
    Mukesh Kumar Jun 26, 2018
  • Jignesh Kumar

    C# 7.0 New Feature - Tuples In C# 7

    In this blog, we are going to learn what Tuples are, why we need Tuples, and what would our life be without Tuples.
    Jignesh Kumar Jun 26, 2018