C# Corner

Resources  
  • Creating your own cool Volume Control using GDI+Jan 23, 2001. In this article, I'll give you an example of creating your own control.
  • Handling Mouse Events in C#Jan 25, 2001. This article explains how to handle mouse events in C# or VB. In C#, you write a delegate and then write an event handler.
  • Implementing Delegates in C#Feb 04, 2001. The Zip file contains two projects. One is VB.Net and the other is C#. Each project is an example of the same use of a delegate. A base class is derived and the delegate calls a method on several classes derived from the base class.
  • Implementing Delegates in C# : Part 2Feb 13, 2001. This is second part of Timothy's Delegates in C# series...
  • Using Delegates to Choose Right FunctionApr 01, 2001. The need to call different class method based on some string passed to class is an old problem.
  • Events and DelegatesJul 26, 2001. Events in C# are based on delegates, the Originator defining one or more callback functions as delegates and the listening object then implements then.
  • Messaging between Threads using Message LoopAug 20, 2001. 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.
  • Exploring delegates in C#Oct 30, 2001. Delegates are a kind of type safe function pointers which are actually declared as class derived from System.MulticastDelegate.
  • Working with Namespaces in C#Nov 07, 2001. In C#, namespaces are used to logically arrange classes, structs, interfaces, enums and delegates. The namespaces in C# can be nested. That means one namespace can contain other namespaces also.
  • Observer and .NET event delegatesDec 17, 2001. The purpose of this article is to try to introduce observer pattern and compare it to .NET event delegate handling of notifications.
  • Event Handling in .NET using C#Mar 13, 2002. In this article I discuss the event handling model in .NET using C#. The discussion starts with an introduction to the concept of delegates and then it extends that concept to events and event handling in .NET.
  • Multithreading Part 4: The ThreadPool, Timer Classes and Asynchronous ProgrammingApr 16, 2002. In this article, I would discuss few more .NET classes and how and what role do they play a role in building multithreading applications.
  • Expression EvaluatorApr 30, 2002. This program uses the transformation from infix notation to postfix notation to evaluate most of the mathematical expressions.
  • Knob Control using Windows Forms and GDI+May 13, 2002. Control creation for windows form was never so easy like its now with .Net, although it needs some math skills if you want to create self drawn control.
  • Comparison of C# with Java: A Developer PerspectiveMay 29, 2002. The .NET is a language and operating system (on Windows as of now) independent platform pretty similar to Java.
  • Events in C# Made Easy - Lesson1Jan 02, 2003. Events are useful for updating a user interface with changed data, or causing a piece of code to run after another piece of code has completed. .NET has brought us a powerful model for programming events.
  • Pro Developer: This is BusinessFeb 25, 2003. I've been paying the rent as a professional software developer since the 80s. I've also worked both full time and part time as a musician for longer than that. In my travels, I've come to recognize a great many similarities between programmers and musicians. Both have the fire, passion and soul of the artist. And all too often, both are incredibly naïve when it comes to the business end of things. Business - you know, that aspect of your work where they actually pay you at the end of the day?
  • POP3 LibraryAug 29, 2003. This application is written in C# and is multithreaded, the allows the client application to invoke the POP3 library and get the messages, the status and the results of the POP3 events are passed back to the client application using the C# delegates.
  • Events Programming in C# Nov 24, 2003. In this article, author discusses the events model in .NET and how to implement events in your applications using C#.
  • Hello World in different StylesJan 09, 2004. 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.
  • Real Life SQL and .NET :Using SQL with C#: Part VIIIJan 13, 2004. Welcome to the world of SQL and the huge, growing database technologies of today’s business all over the SQL world. By reading this article, we have begun accepting the knowledge that will soon be required for survival in today’s world of relational database and data management. Alas, for the reason that it is first necessary to provide a background of SQL and cover some preliminary concepts that we need to know, the majority of this article is text in paragraph format.
  • Report Generation in .NETFeb 27, 2004. Report generation is an integral part of enterprise application development. Choosing the right kind of report generation strategy decides the success of the application in terms of cost and performance. The white paper discusses some of the key factors that need to be considered when architecting reporting systems in .NET and C#.
  • Validating Input Xml Data FilesJun 28, 2004. In this article we'll discus two strategies for validating input XML data files. The validation of an XML input file could occur at various instances of processing.
  • Microsoft CRM Customization - Programming Email Activity AttachmentOct 26, 2004. Microsoft CRM is now on the scene and it is increasing its market share, due to Microsoft Business Solutions muscles and marketing strategy. It is tightly integrated with other Microsoft Business Solutions products such as Microsoft Great Plains, Solomon, Navision.
  • A comprehensive view of SharePoint: Part IINov 19, 2004. Enterprise portals are an important part of today's enterprise IT infrastructure. Portals are used as an entry point for a specific topic, organization, project or team. Many enterprises have an enterprise portal, opened by default when an employee opens up a browser, which shows general information about the enterprise, its strategy, its departments, etc.
  • Best Practices of Exception ManagementMar 08, 2005. Exception management is one of the key area for all kinds of application development .You should adopt an appropriate strategy for exception management to build high quality and robust application .It is a very powerful concept and makes the development work very easy if its used efficiently.
  • Anonymous Method to Retrieve Data Reader Passed from DALMay 03, 2005. Anonymous method is a new feature in C# 2.0 that allows you to define an anonymous method called by a delegate.
  • Configuring and Invoking Dynamic Delegate using ReflectionJul 26, 2005. The attached source code projects shows how to configure and invoke dynamic delegates using Reflection.
  • Design Patterns (Strategy Pattern) Part - IIAug 31, 2005. Define a family of algorithms, encapsulate each one, and make them interchangeable. Strategy lets the algorithm vary independently from clients that use it.
  • Understanding Delegates in C#Sep 15, 2005. Delegate is type which holds the method(s) reference in an object. It is also reffered as a type safe function pointers.
  • Delegates and Events in C#Oct 05, 2005. 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.
  • How do I Implement Custom Event Handling in C#Oct 27, 2005. In this article, we are going to show, how we can call custom event on our designed conditions.
  • Learning Delegates in C#, an IntroductionJan 03, 2006. There is this thing in C# called a delegate, which is going to be crucial to build interactions between our objects. What’s a delegate, you ask? Good question. A delegate is a pointer to a method. What’s that mean? Just like you can pass variable by reference, you can pass a reference to a method. Let me give you an example.
  • Service-Oriented Architecture and Microsoft .NETJan 21, 2006. This article is intended to provide an overview how Microsoft .NET and related technologies support the goals and principles of Service-Oriented Architecture. The main approach of Microsoft .NET is explained along with the concepts of Service-Oriented Architecture and it fits into this strategy.
  • Understanding C# Events: What They Are and Where They Came FromJan 30, 2006. To help you get a working knowledge of C# events and event handling, this article explains where events come from, what they really are at a functional level and how they are expressed in C#. This article specifically looks at the Gang Of Four (GOF) Observer pattern.
  • Writing C# 2.0 Unsafe CodeFeb 23, 2006. We will see that C# allows suspending the verification of code by the CLR to allow developers to directly access memory using pointers.
  • SpringButtonApr 04, 2006. This tutorial and the source code attached with it shows how to create nice looking buttons using C#.
  • Passing Data Between FormsMay 18, 2006. There are so many methods to pass data between forms in windows application. In this article let me take four important and easiest ways of accomplishing this.
  • Introduction to the GOF Strategy Pattern in C#Aug 08, 2006. For this article, we’ll be building an exciting calculation engine that does remarkable things like adding, subtracting, multiplying and dividing through implementation of the strategy pattern.
  • Using Delegates to Communication Between Windows FormsSep 04, 2006. Delegates are one of the wonderful features of .Net Framework. Their primary use is focused on support event handling and callback mechanism. In this article we will explore how to use delegate as callback support to make simple communication between deferent opened windows forms
  • WCF Application Implementing the Anonymous Client over Certificate WS-Security scenarioNov 17, 2006. This article explains the techniques, architecture and design strategies in order to address one of the most common scenarios of secure communication in Internet, the Anonymous client over Certificate WS-Security scenario using the message level security mechanisms.
  • Custom Events and Delegates, An OverviewNov 22, 2006. An overview instructing you how to create delegates and custom event handlers in C#.NET.
  • Strategy for querying Microsoft Access as an In-Memory Database using DataSets and ADO.NETJan 09, 2007. This article describes how you can read tables in from MSAccess up front in your application and then query the tables in-memory using some powerful features of the DataSet and ADO.NET
  • Passing Data Between Windows FormsJan 16, 2007. This article provides a simple example of using delegates and events to transfer data between Windows forms. The example provided contains three separate forms; the main form interacts with the other two forms by responding to events generated by instances of the other two forms.
  • The Difference Between the Two GOF Patterns "Strategy" and "State"Jan 18, 2007. The GOF Strategy and State patterns are remarkably similiar and it is really only a minor implementation detail that distinguishes the two.
  • Strategy for querying Microsoft Access as an In-Memory Database using DataSets and ADO.NETJan 19, 2007. DataSets are powerful data structures with the capability of allowing the programmer to treat them as in-memory databases.
  • Passing Data Between Forms Without Events and DelegatesJan 31, 2007. This article describes a simplified approach to allowing communication between forms without the use of events and delegates.
  • Simple and Multicast Delegates in C#.netJun 05, 2007. This article describes how to define and use simple/multicast delegates in C#.
  • A Strategy for Using Delegates in C#Jun 15, 2007. In a recent article comment I was asked for a sample of how to use a delegate and so I wanted to put together a sample of how we can use delegates in order to implement a strategy pattern in a way that requires much less code that is easier to maintain than when approaching the same solution deriving sub classes using an OOP implementation.
  • Working with Delegates: Part IOct 04, 2007. We all are well aware about functions. In conventional way, we create object and we call object.method(). We know that they perform some given task and returns results based on the parameters we passed to them.
  • Functional Programming in C#: CurryingJan 13, 2008. Currying is a way to re-write a function with multiple arguments in such a way as it can be called as a chain of functions each with a single argument. This article covers using a few simple utility methods you can use to curry your methods.
  • Introduction to Functional Programming in C#Jan 13, 2008. With the release of the 3.5 framework, we have a completely different coding style available (functional programming). We could actually do functional programming in the 2.0 framework, but the resulting code was ugly and hard to understand at a glance and thus hard to maintain. Now, with lambda method syntax and extension methods, we can produce very human-readable code written in a functional style.
  • Chapter 33: Advanced Web ServicesFeb 22, 2008. This chapter describes how to extend your web service skills with specific techniques that are often important in real-world web service scenarios.
  • Delegates in C#Feb 29, 2008. This article discusses the delegate type and how it can be used to point to methods in the application which can be invoked at later time. This article demonstrates also the delegate ability to multicast and delegate covariance.
  • Events in C#Mar 03, 2008. This article discusses events in c#. It will show you the relation between delegates and events.
  • Working with Delegates -Part IIMar 04, 2008. In this article we will discuss about delegates, what is multicast delegates and its contribution in Asynchronous communications and also how to work with long-running processes etc.
  • Anonymous methods in C#Mar 06, 2008. This article discusses the anonymous methods as a new feature in .NET 2.0, it will show you how to associate a delegate directly to a block of code statements at the time of event registration.
  • Strategies to Implement a Multi-Criteria FilteringMar 06, 2008. This article provides you different ways to implement a multi-criteria filtering.
  • Asynchronous Nature of DelegatesMar 13, 2008. In this article you will see the other face of the delegate type in C#, it will show you how you can invoke a method asynchronously using delegates.
  • Methods, Delegates, Anonymous Delegates, and Lambda Expressions... Oh My!Mar 22, 2008. This article covers different syntax we can use for declaring and executing methods.
  • Generics in C# - Part IMar 28, 2008. In Part I of this series you will see the importance of generics, you will learn how to use generic types which in the System.Collections.Generic namespace and you will also learn how to create generic methods.
  • Generics in C# - Part IIApr 11, 2008. In part II of generics in C# we will see how to create generic classes, structures, interfaces, and delegates. We will also see how to create a custom generic collections.
  • Manage Data in a Win Forms Application (without the Database)May 12, 2008. This article provides an approach to building an application that may be used to collect, store, and retrieve data without relying upon a database to get there.
  • Use CompiledQuery.Compile method to build parameterized DLINQ queriesAug 29, 2008. In this article, I will make use of the CompiledQuery.Compile generated method which receives a Lambda expression as parameter, and then it generates a delegate that returns a generic IQueryable object that one can enumerate it through a foreach loop.
  • What is DelegateSep 25, 2008. In this article i am going to explain about delegate.
  • Secrets of Accumulator FunctionsFeb 19, 2009. This article explains about Accumulator Functions in C#.
  • C# DelegatesMar 13, 2009. This article discusses the basics of delegates in C# and how to take advantage of delegates by implementing them in your applications.
  • Delegates IllustratedMar 25, 2009. This article Illustrates the delegates mechanism in c# and how they are tied to events.
  • Retaining your best peopleApr 25, 2009. You can replace equipment, infrastructure, tools, etc but at the end of the day it’s the people i.e. human capital which is the critical success factor in today’s competitive environment. Retaining key talent is one of the topmost priorities for all successful managers.
  • C# DelegatesJun 15, 2009. The delegate topic seems to be a confusing and tough for most of the developers. In this article I will explain the basics of delegates and Event handling in C# in a simple manner.
  • Lambda Expression in c# 3.0Jul 07, 2009. This article will explain about Lambda expression and its usage. This article will also give differences between Lambda expression and Anonymous method. This article will talk about type inference in Lambda expression. This will also talk about delegate type conversion of lambda expression.
  • Delegates in C#Jul 24, 2009. In this article let us learn about Delegates in C#.
  • Migration strategy for simple .NET classes to LINQ classesJul 27, 2009. This article will focus on how we can convert simple existing .NET classes in to LINQ enabled classes.
  • Cracking the PMPJul 30, 2009. With adequate planning and preparation the PMP examination can be cleared. This article provides a detailed approach to crack the exam based on the author’s practical experience and common pitfalls one should avoid.
  • Raising Events, Event Handlers, and the Use of DelegatesAug 12, 2009. This article focuses on delegates, how to use them, their relation to events, and their relation to raising events. It is meant to help the beginner learn delegates by example code.
  • Events and DelegatesNov 09, 2009. In this article let us see about Events and Delegates through an example.
  • Types in C# Nov 13, 2009. In this article I will explain about data types in C#.
  • Delegates and Events in C#Nov 25, 2009. In this article I will explain about Delegates and Events in C#.
  • Look at Covariance and Contravariance in DelegatesApr 15, 2010. In this article, we will look into Covariance and Contravariance in Delegates using C#.
  • Events and Delegates in Remoting May 02, 2010. In this article I will explain you about Events and Delegates in Remoting.
  • 6 important uses of Delegates and EventsJun 02, 2010. In this article we will first try to understand what problem delegate solves, we will then create a simple delegate and try to solve the problem. Next we will try to understand the concept of multicast delegates and how events help to encapsulate delegates. Finally we understand the difference between events and delegates and also understand how to do invoke delegates asynchronously.
  • Events/Delegates example in C#Aug 18, 2010. I made a little events/delegates example. I'm sharing it with you because events and delegates can be hard when your learn them and this example could help you.
  • How to use Delegate?Aug 18, 2010. Most of us would know what is delegate. But many us of don't use them efficient enough. In this project, I have shown different methods to use delegates.
  • Delegate to Lambda ExpressionSep 08, 2010. This article will not give any theoretical definition of Delegate, Anonymous method and Lambda Expression.
  • Use of Delegate and Lambda ExpressionSep 16, 2010. Here I would like to discuss about the use of Delegates and Lambda Expression’s. Lambda Expressions has been introduced in C# 3.0 (2008).
  • Introduction about Strategy PatternSep 21, 2010. The Strategy pattern enables a client to choose which algorithm to use from a family of algorithms and gives it a simple way to access it.
  • Strategy Design PatternOct 25, 2010. The Strategy pattern involves separating an algorithm from its host class and putting it in a separate class. When there are multiple strategies available for an algorithm, for a given problem it is always better to separate them in to different objects.
  • C# 4.0 Method ParametersOct 29, 2010. This article talks about optional parameters.
  • Delegates in C#Nov 01, 2010. This article discusses what delegates are and how they can be used in C# with lucid code examples.
  • Chapter 1: SQL Server 2008 R2 Editions and EnhancementsNov 22, 2010. This chapter introduces the new SQL Server 2008 R2 features, capabilities, and editions from a DBA's perspective. It also discusses why Windows Server 2008 R2 is recommended as the underlying operating system for deploying SQL Server 2008 R2. Last, SQL Server 2008 R2 hardware and software requirements and installation strategies are also identified.
  • ABC's of DelegateDec 12, 2010. This article helps you to understand the basics of delegates in .NET Framework.
  • Event Driven Programming with User ControlDec 15, 2010. In this article, I will discuss how to use delegates and events.
  • Chapter 5: Consolidation and Monitoring in SQL ServerDec 22, 2010. The goal of SQL Server consolidation is to identify underutilized hardware and improve utilization by choosing an appropriate consolidation strategy. With SQL Server, hardware could be considered to be underutilized when workloads are using less than 30 percent of server resources.
  • Strategy for a Confirmation Dialog in an MVVM World in SilverlightDec 23, 2010. Working with Silverlight in an asynchronous world can sometimes be a challenge. Here is an example of a confirmation dialog that provides some direction into that temporally ambigious environment.
  • Strategy PatternJan 30, 2011. The Strategy Pattern is a GOF (Gang of Four) behavioral pattern where the intent is to "define a family of algorithms, encapsulate each one, and make them interchangeable".
  • Behavioral Design Pattern for .NET: Part 2Feb 18, 2011. Behavioral Design patterns are the patterns for .Net in which there is a way through which we can pass the request between the chain of objects, or we can say that it defines the manner to communicate between classes and object.
  • Strategy Pattern in .NETFeb 24, 2011. The Strategy design pattern defines a family of algorithms, encapsulates each one, and makes them interchangeable. Strategy lets the algorithm vary independently from clients that use it.
  • Stratagy Pattern with Interface. Why??Mar 09, 2011. In this article I have described the purpose of a Strategy Pattren and why an interface is so necesary when you follow a pattern.
  • What’s New in Silverlight 5? - Control and Text ImprovementsMay 12, 2011. In this article, we’ll have a brief discussion of the new features of controls and text in Silverlight 5.
  • Delegate in .NET (C#): Digging / Acquaint - Make it SimpleJul 17, 2011. A delegate is an object or instance which can hold a reference of any function or which can bind a function.

About delegate-strategy

NA

SPONSORED BY

Custom Software Development
MCN is your source for developing solutions involving websites, mobile apps, cloud-computing, databases, BI, back-end services and processes and client-server applications.
Download Free eBooks