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

Articles

  • Anonymous Methods And Lambda Expressions In C#

    In this article, you will learn about anonymous methods and lambda expressions in C#.NET. Anonymous method is a block of code, which is used as a parameter for the delegate.
  • Anonymous Methods In C#

    An c# anonymous method is method which is inline method and it does not have name i.e it has only body. Anonymous methods takes lesser time than a named method. For better performance, then you should go for the Anonymous method.
  • Anonymous Types In C#

    Anonymous types allow us to create new type without defining them. This is way to defining read only properties into a single object without having to define type explicitly.
  • What's New In C# 8

    In this article, I'll walk you through some of the new features introduced in the 8th version of C# and show some use cases.
  • Export PDF From HTML In MVC.NET

    Here, I’m going to explain how to export a PDF from View in MVC.NET. Also, we will see how to set the header and footer with page number.
  • Introduction to Generic

    This article describes an introduction to Generic Class, Methods, Delegates and Interfaces in C# programming.
  • Overview of Using Keyword In C#

    This article explains the various ways to use the using keyword and what the benefits are.
  • Value Type And Reference Type Variables

    In this article we will learn about Value Type and Reference Type variables.
  • The "Using" Statement In C#

    .NET Framework provides resource management for managed objects through the garbage collector - You do not have to explicitly allocate and release memory for managed objects.
  • C# Concepts - Value Type And Reference Type

    This article explains C# concepts of Value and Reference types.
  • Method Overloading In C#

    This article provides an explanation of one of the most important concepts of C# or any Other Object Oriented language: Method Oveloading and its application, with an example.
  • C# Interview Questions And Answers

    Top C# interview questions and answers. The article lists 50 C# interview questions and explains each question in details with code examples in C#.
  • Serializing Objects In C#

    Serialization in C# is the process of converting an object into a stream of bytes to store the object to memory, a database, or a file. Its main purpose is to save the state of an object in order to be able to recreate it when needed. The reverse process is called deserialization.
  • Use Of Serialization In C#

    In this article I will demonstrate the use of serialization and how to perform XML serialization.
  • What Is A Jagged Array And How To Use In C#

    This article explains jagged arrays and how they are implemented in C#.
  • Using Generics In C#

    C# Generics allows developers to create generic collections that could work with any data types. C# also has a list of generic collection classes. In this article, you will learn how to use generics in C# and .NET.
  • Working with Arrays In C#

    In this article, I will discuss how to use arrays in C#. The C# Array class provides methods and properties to work with arrays. The code example in this article shows how to use arrays in C#.
  • Static Method In C#

    This article explains C# static method and code examples of use of stack methods in C#.
  • Some Important Differences In C# Concepts

    Today, we will discuss a few important differences that every C# developer must know. We will cover the differences between dictionary and hashtable, x.Equals(y) and x == y difference, the difference between class and interface, and the difference between error and exception, and more.
  • Discussing the "is" and "as" Operators of C#

    The "is" and the "as" operators of C# are used to compare types. This code example shows how to use the is and as operators in the C# to avoid type mismatch exceptions or other type exceptions.
  • View More