C# Corner

Related resources for Interfaces
  • Dependency Injection - Part Six - Autofac's "AsImplementedInterfaces"9/11/2017 3:30:00 PM. While I was exploring Autofac, I found AsImplementedInterfaces quite interesting. Not only because it is useful, but also because if we are not careful with its use, we may end up with unexpected appl
  • How To Implement Two Interfaces Having Same Method Names In A Class5/31/2017 5:49:34 PM. How to implement two interfaces having same method names in a class.
  • Overview Of Collection In C#2/28/2017 2:14:42 AM. In this blog, I will explain about collection and interfaces, which are involved in collections, explain the need and drawback of collection.
  • Understanding Interfaces Via Loose Coupling And Tight Coupling7/11/2016 5:37:33 AM. In this blog, you will understand Interfaces via Loose Coupling and Tight Coupling.
  • Getting Started With Interfaces In .NET2/16/2016 4:22:42 AM. In this article you will learn how to get started with interfaces in .NET.
  • Nested Interfaces in C#.NET12/23/2015 12:33:20 PM. In this blog you will learn nested Interfaces in C#.NET.
  • Class Vs Abstract Class Vs Interfaces12/16/2015 8:49:21 AM. In this article you will learn about the differences between Class, Abstract Class and Interfaces in C# language.
  • Overview Of Interfaces12/13/2015 11:24:22 AM. In this article you will learn about overview of Interfaces in C# with example.
  • Abstract Class vs Interfaces In Object Oriented EcoSystem12/3/2015 12:05:41 AM. In this blog you will learn about the difference between Abstract class and Interface.
  • IComparable, IComparer And IEquatable Interfaces In C#10/27/2015 1:48:43 AM. In this article you will learn about IComparable, IComparer And IEquatable Interfaces In C#.
  • Why We Use Interfaces in C#8/23/2015 11:51:50 PM. In this article you will learn about interfaces in C#.
  • Interfaces in C#4/13/2015 10:10:27 PM. This article explains interface in C#.
  • OWIN and Katana Interfaces of ASP.Net3/29/2015 3:11:33 PM. In this article, I will share what I have my learned about what O.W.I.N. and Katana are and will try to get into some basic details that are some important concept to be learned.
  • .NET 4.5 Read-Only Interfaces3/27/2015 1:01:28 PM. This article introduces the brand new .NET 4.5 read-only interfaces that is similar to core generic interfaces. Hierarchy of core generic interface with read only interface.
  • C#: Implicit and Explicit Implementation of Interfaces2/21/2015 2:06:44 PM. This article explains the implicit and explicit implementation of interfaces and its purposes.
  • Difference Between Abstract Classes and Interfaces1/29/2015 12:59:22 AM. In this article we will learn about the differences between abstract classes and interfaces.
  • Explicit Interfaces in C#1/8/2015 10:56:54 PM. In this article we will learn about explicit interface implementation.
  • What Interfaces in C# Are1/5/2015 1:29:56 PM. This article explains what interfaces in C# are.
  • C# Defensive Event Publishing Using Interfaces10/23/2014 5:59:17 AM. This article explains how to use interfaces for C# Defensive Event Publishing.
  • Coding Better: Programming From the Outside In for Fluent Interfaces. Part II9/15/2014 7:21:09 AM. In this article we’ll cover building a Fluent Interface in order to write readable code that closely models spoken/written language.  In a previous article I discussed how we can be more efficient and write better code by developing from the outside-in.  Now we’ll look at a new trick to make this approach even more effective, the Fluent Interface and Method Chaining.
  • Coding Better: Programming From the Outside In for Fluent Interfaces. Part IV - A Real World Application9/15/2014 5:04:55 AM. In this article we'll look at building a fluent interface to abstract parameter assertions which gives us readable code that closely models spoken/written language. This will make code consuming our API contain less code debt and reduce the total cost of maintenance.
  • Coding Better: Programming From the Outside In for Fluent Interfaces. Part III9/15/2014 5:02:28 AM. In a previous article I demonstrated a coding approach that allows us to easily build a Fluent Interface.  In this article we'll pick up where I left off and develop a more sophisticated/complex structure.
  • Customize User Interfaces and Pass User Input to Installer Classes6/5/2014 8:16:07 AM. In this article I am going to demonstrate how to customize your MSI install to prompt the user for some information and then pass this information to an installer class. This can be useful when needing to do something during an install based on the user input.
  • Interfaces in C#5/31/2014 3:53:30 PM. In this article we will learn about interfaces in C#.
  • C# Interface Based Development12/10/2013 3:06:15 AM. When trying to build maintainable, reusable, and flexible C# code, the object oriented nature of C# only gets us 50% of the way there. Programming to interfaces can provide us with the last 50%. Interfaced-based design provides loose coupling, true component-based programming, easier maintainability and it makes code reuse much more accessible because implementation is separated from the interface.
  • Comparable and Comparator Interfaces in Java11/19/2013 8:28:39 PM. This article explains the Comparable and Comparator interfaces in Java and the differences between them.
  • .Net inbuilt classes - Interfaces10/4/2013 11:23:49 AM. .Net inbuilt classes - Interfaces.
  • Inherit Multiple Interfaces With the Same Method Name in C#8/23/2013 6:27:31 PM. In this article we will see a situation that occurs when two interfaces have methods with the same name and the same parameter(s) and one base class implements these interfaces.
  • Inherit Multiple Interfaces and They have Conflicting Method Name7/19/2013 11:25:52 AM. Here we discuss on Inherit multiple interfaces with conflicting method names within the C#.
  • Multiple Inheritance in C# using Interfaces6/27/2013 4:18:51 AM. This is the simple mathematical operation program demonstrating how multiple inheritance can be achieved in C# using Interface Concept.
  • Introduction to Interface In JAVA4/11/2013 1:57:00 AM. In this article we will discuss about interface in JAVA. As multiple inheritance in JAVA only achieve through Inerface. So we discuss about Interface in JAVA.
  • Implicit and Explicit Interface Examples3/18/2013 1:04:41 PM. In this article you will learn about Implicit and Explicit Interfaces in detail with examples.
  • Testing UI with Tests in Visual Studio 20122/14/2013 7:41:46 PM. Easily testing user interfaces with Coded UI tests
  • Using IComparable and IComparer to compare objects in VB.NET12/1/2012 2:39:59 AM. The .Net framework and especially the System.Collection namespace provides us two built in interfaces witch are IComparable and IComparer interfaces in order to compare two objects.
  • Customize User Interfaces and Pass User Input to Installer Classes11/10/2012 9:59:14 AM. In this article I am going to demonstrate how to customize your MSI install to prompt the user for some information and then pass this information to an installer class. This can be useful when needing to do something during an install based on the user input.
  • Understanding Structures in VB.NET11/10/2012 3:43:21 AM. A structure in VB.NET is simply a composite data type consisting of a number elements of other types.
  • Querying COM+ using Web Services in VB.NET11/10/2012 2:07:39 AM. The most COM+ common administrative tasks (creating a COM+ application, installing/deleting a component, setting a component attribute) can be accomplished manually with the Component Services administrative tool from Management Console. But there a few cases (installing the components or changing a component’s value on a regular basis) when it is necessary to have programmatic access to the COM+ applications, components and interfaces.
  • M.S. Visio Automation10/4/2012 9:23:38 AM. This article demonstrates the flexibility of Visio products as a development platform by describing the customized business solutions.
  • When to use Inheritance versus Interfaces5/23/2012 3:38:15 AM. Inheritance,Interfaces,Difference between inheritance and interface.
  • Building User Interfaces for Windows Phone 75/20/2012 7:15:33 AM. This article will cover some aspects that can help you style your UI controls in a Silverlight Windows Phone 7 Application
  • Microsoft .NET and XML5/20/2012 6:32:07 AM. In this article I will explain you about Microsoft .NET and XML.
  • Integrate Through Web Interfaces with C#5/20/2012 3:17:47 AM. This article proposes a way for integrating the enterprise applications through web interfaces. Since the web interfaces are widely available for many existing applications, the method may well reduce the cost of building an integration system with less time and get ride of the dependency on other resources.
  • Nemesis-7rc1 (Codename Deviate)5/19/2012 12:40:30 AM. Nemesis-7 is a full-screen 2D shoot’em up that makes use of the DirectInput, DirectSound and DirectDraw interfaces from DirectX. The player controls a spaceship which he uses to duel the computer opponent. I implemented some artificial intelligence to make the CPU play more human.
  • Coding Better: Using Classes vs. Interfaces5/15/2012 3:06:00 PM. Using the .NET framework we basically have two ways to provide abstraction for our code: Classes and Interfaces. This article will look at the use of each and cover some things to consider when choosing between them in different situations.
  • Creating Extensible and Abstract Layer5/13/2012 5:56:45 AM. This article explains you about the abstraction and extensibility which is an important factor in modern day frameworks.
  • Visual studio and .NET tips and tricks 14:- Implement interfaces with just a right click1/23/2012 2:26:28 AM. Visual studio and c#/ .NET tips and tricks 14:- Implement interfaces with just a right click.In this video we will see how to implement interfaces with right clicks rather than typing them manually.
  • Interfaces of collection in JAVA10/24/2011 11:27:08 PM. Here you will learn about the collection interfaces in JAVA.
  • Implementation of multiple interfaces in VB.NET8/31/2011 2:25:38 AM. Here,we will see how to use implement of multiple interfaces in vb.net
  • Interfaces in .NET4/24/2011 10:05:40 AM. In the article before this I explained Abstract Classes.
  • Interfaces in Visual Basic .NET12/27/2010 2:28:36 AM. In this article, I will explain you about Interfaces and their implementation in Visual Basic .NET.
  • Interfaces in C#10/27/2010 11:31:35 AM. In this article you will know about Interfaces in C#.
  • How and when to Use Interfaces like IComparable9/15/2010 11:17:34 PM. This article is targeted for the people who don't know how to use Interfaces .
  • Common Interfaces using VB.NET8/28/2010 9:52:58 AM. In this article I will explain you about Common Interfaces using VB.NET.
  • How to Re-Implement interfaces in VB.NET8/12/2010 5:07:10 AM. In this article you will learn how to re-implement interfaces in VB.NET
  • A Thought On Interfaces6/30/2010 12:45:19 PM. A thought on the name "Interfaces," and why it accurately describes what interfaces do.
  • Common Interfaces using C#4/7/2010 11:48:08 PM. In this article I will explain you about Common Interfaces using C#.
  • Microsoft .NET and XML11/22/2009 9:55:36 PM. In this article I will explain you about Microsoft .NET and XML.
  • GDI+ Namespaces and Classes in .NET 10/30/2009 6:51:22 AM. In this article I will explain about GDI+ Namespaces and Classes in .NET.
  • GDI+ Namespaces and Classes in .NET10/29/2009 6:24:47 AM. In this article I will explain about GDI+ Namespaces and Classes in .NET
  • ADO .NET Disconnected Classes10/28/2009 1:24:04 AM. In this article I will explain about the ADO.NET Disconnected Classes.
  • Interfaces in Silverlight9/26/2009 6:53:17 AM. An interface defines a contract that specifies a "can do" relationship or a "has a" relationship.
  • Interfaces in VB.NET9/2/2009 11:19:22 AM. This article shows how to implement interfaces in VB.NET.
  • Interfaces + Factory pattern = Decoupled architecture6/30/2009 11:27:56 PM. In this tutorial we will try to understand how we can use interfaces and factory pattern to create a truly decoupled architecture framework. In this sample we will take up a simple three tier architecture and apply interfaces and factory pattern to see how we can transform the three tier in to a truly decoupled architecture.
  • Interfaces + Factory pattern = Decoupled architecture6/30/2009 11:27:56 PM. In this tutorial we will try to understand how we can use interfaces and factory pattern to create a truly decoupled architecture framework. In this sample we will take up a simple three tier architecture and apply interfaces and factory pattern to see how we can transform the three tier in to a truly decoupled architecture.
  • What are interfaces6/1/2009 1:08:55 AM. In this article I will be explaining you about interface, there types and implementation.
  • What are interfaces6/1/2009 1:08:55 AM. In this article I will be explaining you about interface, there types and implementation.
  • Sorting Object Using IComparer and IComparable Interfaces 5/30/2009 1:22:16 AM. The System.Collections namespace contains interfaces and classes that define various...
  • How we configure interfaces of PIX or ASA1/12/2009 5:17:00 AM. A pix or firewall can have up to the 10 interfaces based upon PIX or ASA version and Interface module install on it.
  • How we configure interfaces of PIX or ASA1/12/2009 5:17:00 AM. A pix or firewall can have up to the 10 interfaces based upon PIX or ASA version and Interface module install on it.
  • C# Friendly Assemblies: Looking at building Truly Reusable Components12/5/2008 4:48:35 AM. This article discusses how we can hide our base class implementation and require referencing of our objects through their interfaces. This keeps our own projects loosely coupled and also allows us to publish our assemblies as truly reusable components because they are 100% “Black box”.
  • Delegates and Events in C#6/6/2007 4:45:55 AM. A delegate in C# is similar to a function pointer in C or C++. Using a delegate allows the programmer to encapsulate a reference to a method inside a delegate object.
  • Understanding: Interfaces3/7/2007 1:00:35 AM. When creating applications, there sometimes comes the need to use interfaces. An 'interface' is one of the types available in the VB .Net language (and for that matter almost all other OO languages). Interfaces are perhaps one of the most difficult types to explain. Most writeups or articles explain it as a contract; a contract that binds two classes together.
  • VB.Net Defensive Event Publishing using Interfaces11/15/2006 7:35:57 AM. In order to ensure that our events behave as intended we can use interfaces to control access, the classes that subscribe to the events, and the event registration process. To do this, we can write "observer"-type interfaces for notification, subscription and un-subscription to events because the VB.Net event model is based on the Observer GOF pattern.
  • VB.Net Defensive Event Publishing using Interfaces11/15/2006 7:35:57 AM. In order to ensure that our events behave as intended we can use interfaces to control access, the classes that subscribe to the events, and the event registration process. To do this, we can write "observer"-type interfaces for notification, subscription and un-subscription to events because the VB.Net event model is based on the Observer GOF pattern.
  • VB.Net Defensive Event Publishing using Interfaces11/15/2006 7:35:57 AM. In order to ensure that our events behave as intended we can use interfaces to control access, the classes that subscribe to the events, and the event registration process. To do this, we can write "observer"-type interfaces for notification, subscription and un-subscription to events because the VB.Net event model is based on the Observer GOF pattern.
  • VB.Net Defensive Event Publishing using Interfaces11/15/2006 7:35:57 AM. In order to ensure that our events behave as intended we can use interfaces to control access, the classes that subscribe to the events, and the event registration process. To do this, we can write "observer"-type interfaces for notification, subscription and un-subscription to events because the VB.Net event model is based on the Observer GOF pattern.
  • VB.Net Defensive Event Publishing using Interfaces11/15/2006 7:35:57 AM. In order to ensure that our events behave as intended we can use interfaces to control access, the classes that subscribe to the events, and the event registration process. To do this, we can write "observer"-type interfaces for notification, subscription and un-subscription to events because the VB.Net event model is based on the Observer GOF pattern.
  • Inheritance Versus Interfaces7/18/2006 1:45:06 AM. This article describes the advantages of using interfaces over inheritance and how to create a plug and play component in .NET using an interface.
  • Inheritance Versus Interfaces7/18/2006 1:45:06 AM. This article describes the advantages of using interfaces over inheritance and how to create a plug and play component in .NET using an interface.
  • Understanding Structures in VB.NET4/20/2006 7:44:45 AM. A structure in VB.NET is simply a composite data type consisting of a number elements of other types. A VB.NET structure is a value type and the instances or objects of a structure are created in stack.
  • Understanding Structures in VB.NET4/20/2006 7:44:45 AM. A structure in VB.NET is simply a composite data type consisting of a number elements of other types. A VB.NET structure is a value type and the instances or objects of a structure are created in stack.
  • Introduction to GDI+ in .NET 4/11/2006 4:53:13 AM. GDI+ is next evolution of GDI. Using GDI objects in earlier versions of Visual Studio was a pain. This tutorial discusses the basic concepts, the System.Drawing namespace and gives you a head start towards graphics programming using GDI+.
  • Introduction to GDI+ in .NET 4/11/2006 4:53:13 AM. GDI+ is next evolution of GDI. Using GDI objects in earlier versions of Visual Studio was a pain. This tutorial discusses the basic concepts, the System.Drawing namespace and gives you a head start towards graphics programming using GDI+.
  • Querying COM+ through Web Services3/18/2006 4:09:50 AM. The most COM+ common administrative tasks (creating a COM+ application, installing/deleting a component, setting a component attribute) can be accomplished manually with the Component Services administrative tool from Management Console. But there a few cases (installing the components or changing a component’s value on a regular basis) when it is necessary to have programmatic access to the COM+ applications, components and interfaces.
  • Querying COM+ through Web Services3/18/2006 4:09:50 AM. The most COM+ common administrative tasks (creating a COM+ application, installing/deleting a component, setting a component attribute) can be accomplished manually with the Component Services administrative tool from Management Console. But there a few cases (installing the components or changing a component’s value on a regular basis) when it is necessary to have programmatic access to the COM+ applications, components and interfaces.
  • Connection Points And Asynchronous calls -I3/8/2006 3:46:10 AM. This article explains about basics of connection points and how to use them in your application.This article tells you why do you need connection points and what are the alternatives.
  • Customize User Interfaces and Pass User Input to Installer Classes2/15/2006 2:29:01 AM. In this article I am going to demonstrate how to customize your MSI install to prompt the user for some information and then pass this information to an installer class. This can be useful when needing to do something during an install based on the user input.
  • Creational Pattern - Abstract Factory2/1/2006 2:04:32 AM. An abstract factory provides an interface for creating families of related objects without specifying their concrete classes. Sometimes one wants to construct an instance of one of a suite of classes, deciding between the classes at the time of instantiation.
  • Design Issues & Architectures in .NET Application Development2/1/2006 1:34:15 AM. The design and structure of an application is more important, as the technical details of its implementation. Upon developing any new project, we should settle on the issues such as the Technologies to use, Database Engine to employ, the Physical Architecture of the application etc.
  • M.S. Visio Automation2/1/2006 1:13:52 AM. This article demonstrates the flexibility of Visio products as a development platform by describing the customized business solutions.
  • Messaging between Threads using Message Loop1/30/2006 11:48:06 PM. MessageLoopLib is a stripped down version of a complete, threading communication subsystem Ive written. This implementation is a single thread created in the GUI constructor. Ive dropped all thread management and have had to change some of the message code to accommodate this.
  • Simple Windows Forms Events and Interfaces1/18/2006 5:53:25 AM. This article contains a c# code which makes use of the concepts of Events and Interfaces together.
  • Querying COM+ through Web Services1/9/2006 1:42:06 AM. The most COM+ common administrative tasks (creating a COM+ application, installing/deleting a component, setting a component attribute) can be accomplished manually with the Component Services administrative tool from Management Console.
  • Querying COM+ through Web Services1/9/2006 1:42:06 AM. The most COM+ common administrative tasks (creating a COM+ application, installing/deleting a component, setting a component attribute) can be accomplished manually with the Component Services administrative tool from Management Console.
  • Using Interfaces in .NET Remoting1/6/2006 12:11:31 AM. In this article, we will create a remote object that will return rows from a database table. For the sake of simplicity I have used the NorthWind database that is packed with the installation of the Microsoft SQL Server.
  • Using Interfaces in .NET Remoting1/6/2006 12:11:31 AM. In this article, we will create a remote object that will return rows from a database table. For the sake of simplicity I have used the NorthWind database that is packed with the installation of the Microsoft SQL Server.
  • IComparable: Under the Hood12/23/2005 1:14:35 AM. We now calling Array.Sort() on C# Types such as int, char, string will automatically do sorting based on that type.
  • IComparable: Under the Hood12/23/2005 1:14:35 AM. We now calling Array.Sort() on C# Types such as int, char, string will automatically do sorting based on that type.
  • Implementing IEnumerator and IEnumerable Interfaces using Inner Class in C# 12/21/2005 12:20:49 AM. .NET framework provides IEnumerable and IEnumerator interfaces to implement collection like behavior to user defined classes.
  • Hello World in different Styles12/19/2005 6:04:50 AM. I've attempted to write the traditional 'Hello World' in different styles. This explores the different possibilities of addressing a problem - 'Hello World' with different features of C# language and .NET framework.