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

Blogs

  • Circular Dependency With Respect To Inheritance In C#

    In this blog, I have explained the concept of Circular Dependency in C# with respect to inheritance. Also, we will check if it works or not.
  • Register An Azure AD Application Programmatically Using C#

    Many times, we need to create an Azure AD Application to host our services and web applications etc. on Azure to make it multi-tenant service/application. In this blog, let us see how to achieve that.
  • Mistakes In C# Programming By Using Reference Like Value

    Developers of C++ and numerous different dialects are acclimated to being responsible for whether the qualities they dole out to factors are essential values or are references to existing articles. In C# programming, notwithstanding, that choice is made by the developer who composed the item, not by the software engineer who instantiates the article and allows it to a variable. This is a typical "gotcha" for those endeavoring to learn C# programming.
  • How To Check If An Email Is Valid Or Not, Using A Free Web API

    In this blog, we will see how to check the validity of an email using a free Web API.
  • C# Hidden Gems - Discards Variable (_)

    This will be a series of multiple blog posts to explore some of the hidden gems among C# features. Hidden gems are the surprisingly useful features of C#, not being used much by common developers.
  • Data Type Conversion In C#

    Convert function in C# is used to convert an integer to string or string to integer or another format.
  • Persistent To-Do Application

    Will create a QA console to-do application with friendly UX along with persistent data storage without any connectivity with the database.
  • Unit Test Through Mocking Using MOQ Framework

    Through this blog I will be demonstrating how to mock a database or external API calls using MOQ Framework.
  • Overview Of Generic Types In C#

    In this blog I introduced the generic types may used in the method,property and parameters of a class .The bellow example is narates all these.
  • Abstract Class Vs Interface

    This is the most widely asked question in the interviews to the freshers as well as an experienced professional.
  • What Is Static Method And Instance Method In C#

    This question has been asked many times. Here I am going to explain what is a static method and instance method.
  • C# Singleton DesignPattern

    Before moving to the Singleton Design Pattern, let's look what a singleton pattern is. Singleton allows to sustain only one object to a class. This class restricts to one instance per class along global access.
  • Transfer Files To SFTP Using WinSCP

    To connect and transfer files to FTP there is a Class available called FTP in .NET under System.IO and System.NET namespaces, However, to connect and transfer files on SFTP, there is no inbuilt class available in .NET.
  • About Abstract Class

    The class which is declared using abstract keyword is an abstract class. An abstract class cannot be initialized it can be only be inherited by another class. Abstract consist of abstract methods and consists of an instance method.
  • Generic Filter, Sorting, Grouping And Paging For Any View Model In Server Side

    This will help you to apply generic filtering on any properties, Sorting on any fields, grouping on any fields and paging on generic collections. It will avoid the network traffic and reuse the code extensively.
  • Solution To "Folder Access Denied" Error In C#

    Most of the developers face this "Access Denied" issue while installing their desktop application on a client system. Often, it happens because your application tries to save some data or read some data from that path or file but the client system doesn't provide rights to access the path.
  • All About Static

    The class which is decorated with the static keyword is a static class. A static class cannot be initialized using the new keyword. A static class can only contain static members instance members are not allowed in static class.
  • All About Constants

    Constants are immutable values whose values are known at run time and cannot be changed in whole life time of program.
  • Switch Statement Enhancements In C# 7.0

    Now, from C# 7.0, Switch statement will be having more power in matching the cases. Earlier, Switch statement can be used only for primitive and string types. But now we can even use the Switch statements one step ahead for object types.
  • Understanding Pattern Matching In C# 7.0

    As we are aware of is-Expression where we can use the "is" keyword to verify the given type. In C# 7.0, this has been extended to constant, type, as well as, var patterns. Let's dig into each of the patterns here.
  • View More