C# Corner

Resources  
  • New Modifiers in C#Jan 26, 2001. If you come from a C++ or Java background to C# then you will of course notice some strange keywords introduced to this new language, especially the "new" and "override" modifiers.
  • Using the ref ParameterMar 06, 2001. The ref keyword on a method parameter causes a method to refer to the same variable that was passed as an input parameter for the same method. If you do any changes to the variable, they will be reflected in the variable.
  • Using the out ParameterMar 07, 2001. Did you ever need your method return more than one value? The out keyword can be used to do the same.
  • Protecting IL Code from unauthorised DisassemblingApr 09, 2001. Microsoft .NET proved a mechanism where the code written in VB.NET, C# or any CLS compliant languages to generate MSIL (Microsoft Intermediate Language)code which targets the CLR and executes. This is an excellent mechanism to abstract the high level code from the underlying hardware.
  • Multiple Inheritance in C#Aug 29, 2001. Can you inherit from multiple classes in C#? Simply put, this cannot be done. However there are ways around it. From a design perspective you must ask yourself, will a Class fully represent an object?
  • Passing Const Parameter to Functions in C#/C++/VB ComparedAug 30, 2001. Parameter passing to a function is extremely important in all programming languages. The desire to keep the passed parameter intact forced the compiler designers to add various keywords to the programming languages.
  • Abstract Classes And MethodsOct 08, 2001. This is a detailed analysis of Abstract classes and methods in C# with some concrete examples.
  • Encapsulation in C#Oct 12, 2001. In Object Oriented programming Encapsulation is the first pace. Encapsulation is the procedure of covering up of data and functions into a single unit (called class).
  • Understanding Properties in C#Oct 15, 2001. In C#, properties are nothing but natural extension of data fields. They are usually known as 'smart fields' in C# community.
  • Implementing Stacks in C#Nov 06, 2001. With the help of C# we can also implement ADT (Abstract Data Types) with little effort. An example of ADT is a simple stack of integers.
  • Abstract Factory Patterns in C#Dec 10, 2001. The ABSTRACT FACTORY PATTERN comes under the classification of Creational Patterns. The Abstract Factory provides an interface to create and return one of several families of related objects.
  • Composite Patterns in C#Jan 23, 2002. A Composite is a tree structure consisting of individual objects mixed with compositions of objects, that is, objects that have other objects as their children.
  • Creational Pattern - Abstract FactoryFeb 11, 2002. 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.
  • C# Style-SheetMay 31, 2002. This article contains a C# style-sheet for the GNU a2ps print utility. The style-sheet keywords, comments, preprocessor directives, and [] style attributes are pretty-printed in the typical a2ps fonts.
  • Implementing Inheritance in C#Sep 05, 2002. Inheritance is one of the most important characteristic of OOP. In this article, I will explain how to implement the inheritance in C# by explaining through an example.
  • Static Constructor in C# and their Usages.Sep 09, 2002. Static constructor is used to initialize static data members as soon as the class is referenced first time, whereas an instance constructor is used to create an instance of that class with <new> keyword.
  • Abstract Factory - Creational Design PatternJan 03, 2003. Abstract Factory simplifies the creation of different families of related or dependent objects. It provides interfaces for this purpose and does not specify the concrete classes.
  • Part I: Simple Color Syntax Code Editor for PHP written in C# and .NETJun 18, 2003. The Application is a simple Windows Form program that allows you to open and save the text files edited in the rich edit control, as well as print them out. The program takes advantage of a “syntax” text file for PHP which lists the functions and keywords contained in the PHP language.
  • C# Methods : Part II Jul 07, 2003. This article completes our discussion of methods. In this article, you will learn parameter passing, reference and value type parameters, and method overloading.
  • New Features in C# 2.0 : Part 2Mar 10, 2004. In this article I will talk about iterators, anonymous methods, and partial classes.
  • OOPS Concepts And .NET Part 2: Inheritance, Abstraction And PolymorphismJun 22, 2005. The following article is the second of a three-part article series that presents definitions and samples for different Object-Oriented Programming (OOP) concepts and its implementation in .NET
  • OOPs Concepts and .NET Part 1: Classes, Objects, and StructuresJun 22, 2005. The following article kicks off a three-part article series that will present definitions and samples for different Object-Oriented Programming concepts and its implementation in .NET. The first part will examine the concepts of classes, objects, and structures. The second part will examine the concepts of inheritance, abstraction, and polymorphism. The third and last part will examine the concepts of interface, multiple interface inheritance, collections, and overloading.
  • OOPS Concepts and .NET Part 1: Classes, Objects, and Structures Jun 22, 2005. The following article kicks off a three-part article series that will present definitions and samples for different Object-Oriented Programming concepts and its implementation in .NET.
  • OOPS Concepts and .NET Part 2: Inheritance, Abstraction, & PolymorphismJun 22, 2005. The following article is the second of a three-part article series that presents definitions and samples for different Object-Oriented Programming (OOP) concepts and its implementation in .NET. The first part examined the concepts of classes, objects, and structures. This part examines the concepts of inheritance, abstraction, and polymorphism. The third and last part will examine the concepts of interface, multiple interface inheritance, collections, and overloading.
  • Design Patterns in C#Nov 01, 2005. To define design patterns in simple words they are "popular solutions for common design problems". They are very helpful in designing architecture and they also increase ease of communication among the developers.
  • Introduction to Model View Control (MVC) Pattern using C#Dec 12, 2005. The benefits of using the Model-View-Control (MVC) pattern in our development projects is that we can completely decouple our business and presentation application layers. Furthermore, we will have a completely independent object to control the presentation layer.
  • Abstract Factory Design Pattern in ADO.NET 2.0Feb 17, 2006. This article will discuss the Abstract Factory Design Pattern and its real-world applications in .Net Framework 2.0.
  • Differentiate Hiding and OverridingFeb 27, 2006. As most of you know hiding and overriding are two main features based upon inheritance, which is one of the pillars of the OOP. Using these we can redefine a member of the base class in a derived class. But what are the differences. Let me clear this with some simple examples.
  • Simple Factory Pattern Side by Side with Abstract PatternMar 02, 2006. This article will discuss the Simple Factory Pattern and how to use it with Abstract Factory Patter discussed in the previous article.
  • C# Interface Based DevelopmentMar 06, 2006. 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.
  • C# 2.0 Yield Return IteratorApr 04, 2006. One interesting new feature of the C# 2.0 is the “yield” keyword. Basically it is used to iterate through objects returned by a method. It creates a state engine in IL so you can create methods that retain their state and don’t have to go through the pain of maintaining state in your code.
  • Create Meta Tags Programmatically in ASP.NET 2.0Apr 07, 2006. In ASP.NET, we had an option to add head tags in HTML where we could define our Meta tags like keyword and description but in ASP.NET 2.0 if we use master page inheritated page then there is problem to add meta tags. This article explains how you can add meta tags in ASP.NET 2.0.
  • The GOF Abstract Factory Design Pattern In C#Aug 04, 2006. This article covers the basics of the GOF Abstract Factory design pattern by looking at building Model T automobiles.
  • The .NET 2.0 Framework Provider PatternAug 11, 2006. The Provider Model Design Pattern was first introduced with the .NET 1.1 framework, specifically in the ASP.NET starter kits and was formalized in ASP.NET Whidbey as a membership management provider API (Application Program Interface). It's primary purpose is to separate the definition for an API from the implementation. This keeps the API flexible by enabling the core functionality to be flexible and easily changed.
  • Pull a column value from another list in your site in Sharepoint Portal ServerSep 21, 2006. In document and form libraries, you can create custom columns or metadata properties and interestingly, you can autopopulate these columns with data that can be hardcoded or extracted from other lists that are part of the same site where your document library is located.
  • Leveraging the "using" keyword in C#Jan 17, 2007. The “using” keyword in C# is one of the best friends of programmers but many of us may not realize this. The “using” keyword is used in two cases – First when importing a namespace in your code and second in a code block.
  • MineSweeperJun 05, 2007. Minesweeper is a single-player computer game. The object of the game is to clear an abstract minefield without detonating a mine.
  • Object Instantiation in C#. Part III Abstract FactoriesJun 25, 2007. There are many ways to approach object instantiation. In this article we’ll cover a few of the patterns used to instantiate objects.
  • Abstract Base Class PolymorphismAug 30, 2007. Refactoring the program code from my Polymorphism, Up-casting and Down-casting article to use an abstract base class.
  • Chapter 1: Hello LINQFeb 06, 2008. This is an exert from Joseph C. Rattz, Jr.'s book Pro LINQ. Here you learn how to use Linq in your application and also depicts the benefits of using Linq.
  • Creating Extensible and Abstract LayerFeb 28, 2008. This article explains you about the abstraction and extensibility which is an important factor in modern day frameworks.
  • F# Tuples and Binding (and more Binding)Mar 26, 2008. Binding in F# is similar to using variables in C# but there are some big differences. This article discusses one of the most used keywords in F# for binding ("let") and how it is different than setting a C# variable. I also cover the tuple F# data structure.
  • Enumerable, Enumerator, and Yielding a "Free" State MachineApr 15, 2008. In this article we look at the power of the "yield" keyword in C#.
  • What really it differs an Interface from a class: Part IApr 28, 2008. This article tells you about the basic difference between an interface and a class.
  • What's really differs an Interface from a class?: Part IIApr 28, 2008. In this article, I will respond to the second question posed in the previous one. Part I-What's really differs an Interface from a class?
  • What really it differs an Interface from a class: Part IIIApr 29, 2008. As a response to the third question asked in the first article Part I-What really it differs an Interface from a class? I can say that also interfaces play others important roles. They can serve as a powerful tool to explore objects
  • Why and when using where keyword within a generic class contextMay 05, 2008. In this article, I will try to make understand the importance of the where keyword used as a part of a generic class context.
  • Using the default keyword in C#May 22, 2008. The keyword default plays several and important roles in the C# language, therefore, I will enumerate some cases where the default keyword is used.
  • Software Testing TechniquesJul 16, 2008. This article tells us that Testing should systematically uncover different classes of errors in a minimum amount of time and with a minimum amount of effort. Because of the fallibility of its human designers and its own abstract, complex nature, software development must be accompanied by quality assurance activities.
  • How to Define and Configure a Grid Control Within a WPF Aplication Using XAML: Part IAug 13, 2008. In this article, I will try to make a representation of the Grid object witch is directly derived from the Panel abstract class and we can say that is a flexible area that contains rows and columns, it plays a role of container in a given WPF window.
  • Render iteration through an object collection possible using foreach keywordAug 28, 2008. This article gives you an answer that, why we get a run time error when we use the foreach loop to iterate through our customized objects container collection.
  • Design Pattern Interview Question Part 1Nov 04, 2008. This article talks about factory, abstract factory, prototype pattern from interview point of view.
  • Coding Better: Programming From the Outside In for Fluent Interfaces. Part IV - A Real World ApplicationFeb 09, 2009. In this article we'll look at building a fluent interface to abstract parameter assertions which gives us readable code that closely models spoken&#47;written language. This will make code consuming our API contain less code debt and reduce the total cost of maintenance.
  • Abstract Class, Interface and relation to Method Overriding and Method Hiding in C#Feb 17, 2009. In my this article I present a way to easily understand Abstract Types, Interfaces and their difference with Overriding and Hiding.
  • this keyword in C#May 22, 2009. Simple explanation of this keyword to make user understand its way of using and implementation.
  • Abstract Class and Abstract MethodsMay 26, 2009. In this article I will explain abstract class and abstract methods.
  • Passing parameter by paramJun 30, 2009. In this article I will explain you how to pass parameter/s using param keyword.
  • Generate and add keyword variations using AdWords APIDec 21, 2009. This article will explain how to programmatically add Keywords under some AdGroup. Presented is an application that adds all combinations of certain set of keywords under specified AdGroup.
  • Abstract Class in C#Mar 09, 2010. An Abstract class is an incomplete class or special class we can't instantiate.
  • What is an Interface?Mar 09, 2010. Interface is a reference type it contains only abstract members.
  • Basics of C#: Checked and Unchecked ConversionsAug 10, 2010. In this article, I will discuss about Checked and unchecked keyword and conversions in C#.
  • Toying with the C# 4.0Sep 03, 2010. In this article, I will expose those two issues not thought the theorist manners but thought real cases via some implementation techniques.
  • Anonymous Types in C#Sep 06, 2010. In this article you will learn how to use anonymous types in C# 3.0.
  • Abstract Factory PatternSep 21, 2010. In this walkthrough I'll try to explain GOF (Gang of Four) Abstract Design pattern. This article is about managing multiple connection strings of different data providers (SQL, Oracle, OleDB etc.).
  • Abstraction in C#Oct 13, 2010. The word abstract means a concept or an idea not associated with any specific instance.
  • Factory Method PatternOct 26, 2010. Here in this article i'll try to explain Factory Method Pattern with an real world example
  • Hosting WCF Service inside IISNov 12, 2010. Windows Communication Foundation(WCF) takes many existing communication technologies, such as Web Services, Windows Remoting, Microsoft Message Queuing, and abstracts them into a single technology. In most cases, this simplifies the way you communicate with other applications.
  • When to use lockFeb 21, 2011. The lock keyword in C# provides good control over a multi-threaded application.
  • Difference between Ref Keyword And Out KeywordApr 20, 2011. While passing Argument To Any Method Having ref and out keyword in C#.
  • Abstract Classes in C#Apr 22, 2011. When a method is declared as abstract it is mandatory for the child class to implement it, without which it can't use other members and methods of the parent class.
  • Interfaces in .NETApr 24, 2011. In the article before this I explained Abstract Classes.
  • When should you use the 'var' keyword in C#?Apr 25, 2011. ‘var’ is a contextual keyword that was first introduced in C# 3.0. It’s described as contextual because it’s only a keyword when used in a certain context - in other contexts it can be used as an ordinary identifier.
  • Enterprise Keywords in SharePoint 2010Jun 01, 2011. In this article we will be seeing how to enable Enterprise keywords for a list.
  • Configure Metadata publishing in SharePoint 2010Jun 02, 2011. In SharePoint 2010 the terms or keywords added to the Managed Metadata or Enterprise Keywords columns in a library can be made available as keywords for social tagging. To do this we need to enable an option in the library settings, which will be available in Enterprise Metadata and Keyword Settings. In this article we will be seeing how to enable this option for the SharePoint document library.
  • Enable Enterprise keywords in SharePoint 2010 using powershellJun 03, 2011. In this article we will be seeing how to enable Enterprise keywords for a list using powershell script.
  • Programmatically enable Enterprise keywords in SharePoint 2010Jun 03, 2011. In this article we will be seeing how to enable Enterprise keywords for a list using SharePoint object model.
  • Object Creation and InstantiationJul 22, 2011. In this article I am trying an alternative approach for Multiple Inheritance.
  • Polymorphism in JavaAug 05, 2011. Polymorphism is discussed in this article. You'll see, how to achieve polymorphism in Java. Method overloading and overriding are discussed as well as.
  • Rarely used keywords in CSharp but Frequently asked in discussions [Beginners]Sep 15, 2011. There are a few words that we rarely use in day to day C# practices [I’m focusing readers who are beginners]. But I’ve seen them in either online exams or other IT quiz shows. So I came to write something about those untouched keywords.
  • Final Keyword in JAVAOct 20, 2011. In this article you will learn about the Final keyword in JAVA.
  • Output keyword in Sql Server 2008Nov 12, 2011. In a simple word we can say OUTPUT clause used with INSERT, UPDATE, or DELETE to identify the actual rows affected by these statements and also used for the auditing purpose.
  • Work with "out" and "ref" keywords in C#Nov 15, 2011. The out and ref keyword look quite similar in nature. Both parameters are used to return back some value to the caller of the function. But still there is a small but important difference between them. Both of the parameter type has been kept in the C# language for specific scenario.
  • Abstract Factory PatternDec 02, 2011. In this article I would like to explain the Abstract Factory pattern. This pattern is essential for learning the Factory Method and Bridge patterns.
  • Unsafe Code in C#Dec 06, 2011. In this article you will see the use of the 'unsafe' keyword in C#.
  • Working With an Abstract Class in JSPDec 14, 2011. Java provides a special type of class called an abstract class which helps us to organize our classes based on common methods. An abstract class lets you put the common method names in one abstract class without having to write the actual implementation code.
  • Using AJAX Graphs in ASP.NETDec 20, 2011. A Graph is an abstract representation of a set of objects where some pairs of the objects are connected by links.
  • Volatile keyword in C# ThreadingDec 21, 2011. The volatile keyword is a convenience keyword for those who need to access member variables of a class or structure in multithreaded conditions.
  • Abstract Class in JAVAJan 17, 2012. In this article you will learn about abstract classes in JAVA.
  • Exception Handling in JAVAJan 31, 2012. In this article you will learn what an exception is and how to handle it in various ways.
  • Use of Assertions in JavaFeb 03, 2012. This article gives knowledge of where, why and how to use assertions.
  • Unable to View the Enterprise Keywords in SharePoint 2010 ListsApr 14, 2012. How to resolve the problem of unable to view the Enterprise Keywords in SharePoint 2010 lists.
  • Abstract Class and Abstract Method in C#May 21, 2012. In this article I have described abstraction in the C# language and a way to achieve dynamic polymorphism with the help of abstract method in the C# language.
  • Working With Dictionary Class in JavaMay 21, 2012. In this article we are going to describe the Dictionary class in java. The Dictionary class is the abstract parent of any class, such as Hashtable, which maps keys to values.
  • Difference Between Abstract Class and an InterfaceMay 30, 2012. In this article I have explained the difference between an Abstract Class and an Interface with some examples and some information about an Interface.
  • Introduction to Keyword View in QuickTest ProfessionalJun 05, 2012. In this article we discuss the keyword view and its benefits.
  • LINQ Let Keyword Using C#Jul 18, 2012. At time of Exploring LINQ keywords, I am in front of Let keyword and thought to write something for .net geeks.
  • Measuring Transactions in the Synchronization Under QTP Tool in the TestingJul 25, 2012. In this article we discuss how to measure Transactions in Synchronization under the QTP Tool in Testing
  • How to Record QTP Script in QTP Tool in TestingJul 30, 2012. In this article I discuss how to record a QTP Script in the QTP Tool.
  • Creating a Table Checkpoint in QTP Tool in TestingJul 31, 2012. In this article I discuss how to create a Table Checkpoint in the QTP Tool
  • Creating a Checkpoint on a Database in QTPAug 06, 2012. In this article we discuss creating a checkpoint for a Database.

About abstract keyword

NA

SPONSORED BY

File APIs for .NET
Aspose are the market leader of .NET APIs for file business formats – natively work with DOCX, XLSX, PPT, PDF, MSG, MPP, images formats and many more!
VSLive! Anaheim