C# Corner

Resources  
  • Creating and Using Custom Attributes in C#Feb 27, 2000. Attributes are classes that allow you to add additional information to elements of your class structure.
  • Anchoring in Windows FormsFeb 13, 2001. Specifies how a control anchors to the edges of its container. When a control is anchored to an edge of its container.
  • Using Transforms with GDI+ in C#Mar 15, 2001. Transforms are matrices that allow you to rotate and translate your graphics shapes. In this example we are going to rotate a very powerful element in C# called the GraphicsPath.
  • Complex Numbers ClassMar 20, 2001. This small example demonstrates using some of the interesting language elements of the C# language.
  • Working with GDI+ Pens and FontsJul 30, 2001. The System.Drawinging.Pen and System.Drawing.Font classes represent pen and font objects in GDI+.
  • Validation Controls in Web Forms: Part IAug 24, 2001. Validation is one of the less talked about areas – often taken for granted.
  • Understanding Structures in C#Oct 23, 2001. A structure in C# is simply a composite data type consisting of a number elements of other types.
  • Enumerators in C#Oct 25, 2001. An enumeration (enum) is a special form of value type, which inherits from System.Enum and supplies alternate names for the values of an underlying primitive type.
  • Type Conversions in c#Dec 04, 2001. Type conversion is a process of converting one type into another. Using C# type conversion techniques, not only you can convert data types, you can also convert object types.
  • Web Forms Code ModelJul 23, 2002. ASP.NET introduces a new programming model for Web Forms to separate the code and visual elements in different files.
  • Consumer/Producer Multithreaded ProgramNov 04, 2002. This is simple multi-threading program that adds and removes elements in an ArrayList. Producer button will creates a producer thread that adds elements in to the ArrayList. The maximum number of elements can be added to this ArrayList are 100 elements and the producer thread has to wait until the consumer thread/threads (creates by pressing consumer button) removes elements from the ArrayList. Then Producer thread starts to add more elements to the ArrayList.
  • C# Versions of Java's StringTokernizerJan 13, 2003. Here is another C# version of the Java StringTokenizer Class from the version posted August last year on your site. Given a string and a set of delimiters, the class return an enumeration of substrings based on the delimeters passed in.
  • Iterations and Performance in .NETApr 15, 2003. I’ve been implementing numerical libraries in .NET and have come to some conclusions about iteration performance.
  • Developing Secure Web Site with ASP.NET and IIS: PartIIMay 07, 2003. Authentication is a very important element of developing secure sites. It is the starting point of a secure environment for the protected resources. I have discussed several authentication mechanisms available in ASP.NET and how they join with IIS to provide a secure platform to develop sites in Part I of this article. I will be looking at Form Authentication and how to implement it in several sample web applications.
  • Developing Secure Web Site with ASP.NET and IIS - PartIIMay 07, 2003. Authentication is a very important element of developing secure sites. It is the starting point of a secure environment for the protected resources. I have discussed several authentication mechanisms available in ASP.NET and how they join with IIS to provide a secure platform to develop sites in Part I of this article.
  • StatusBars in Real ApplicationsSep 05, 2003. In this article we will investigate the StatusBar control of .NET Framework library.
  • 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.
  • Fundamentals of Function Point Analysis Part IIFeb 18, 2004. Function points are a unit measure for software much like an hour is to measuring time, miles are to measuring distance or Celsius is to measuring temperature.
  • Oracle Data Provider for .NET : Part VIFeb 20, 2004. Oracle Data Provider for .NET (ODP.NET) is an implementation of a data provider for the Oracle database. ODP.NET uses Oracle native APIs to offer fast and reliable access to Oracle data and features from any .NET application.
  • Significance of Transformation OrderApr 27, 2004. When applying a composite transformation on graphics objects, the order of transformations plays a vital role. This article shows you various aspects of the transformation order and the results.
  • Adding Discovery Features to BizTalk Server 2004: Part ISep 13, 2004. This article explores the concepts of the BizTalk-UDDI mapping process and the similarity with the WSDL-UDDI mapping process. By the other way the second article is focused in the implementation and use of the BizTalk Server 2004 UDDI Publishing Wizard tool.
  • Thread Safe Collections ArrayList and QueueSep 24, 2004. The attached project provides a dll containing a wrapper around the non-thread safe ArrayList and Queue classes. The wrapper implements the most common functions of this collection elements.
  • How Count Sort worksJan 15, 2005. Count Sort is Linear Sorting algorithm which sorts elements in O(n) time , the other linear sorts include Bucket and Radix sorts.
  • Insert Master-Detail Data using Transact-SQLJun 24, 2005. Microsoft SQL Server 2000 SQLXML allows among other things to manage batch operations in a database, which reduces significantly the need of more than one round-trip to a database. OpenXML is a Transact-SQL statement that allows to represent data in XML format and can be used to insert, update, and delete more than one row (represented by an element) in a table or group of tables.
  • Accessing Registry using ASP.NETJul 08, 2005. In this article, we will see how to access the registry using ASP.NET. We will see one simple example to check where Visual Studio installed on our machine.
  • Convert an Enum to a StringOct 24, 2005. This article shows how to convert an enum value to a string value.
  • Fetching Data from a Database in XML FormatJan 28, 2006. In this article we will see how to fetch data from database in XML format.
  • C# 2.0 Nullable TypesFeb 14, 2006. The designers of C#2 have added the concept of nullable types to deal with a weakness of value types versus reference types. It is then essential to have properly assimilated these two notions.
  • Bit Flags Type ConverterJun 23, 2006. This article shows an implementation of TypeConverter which allows you to edit bit flags enumerations in PropertyGrid.
  • Atlas: Floating Server Elements in ASP.Net 2.0Sep 26, 2006. In this article, we will see how easily Atlas allows setting up a server element as a floating element, which the end users of the web page can drag to any location in the web page.
  • LED Control EmulationFeb 06, 2007. This project describes an approach for constructing a hardware emulation of a segmented seven element LED display.
  • XAML TextBoxApr 10, 2007. XAML <TextBox /> element represents the XAML TextBox control. This article discusses how to create a TextBox and set its various properties such as background and foreground colors, setting size and positions, fonts, wrapping, scrolling, and input validations.
  • XAML Layout using the Panel ClassApr 12, 2007. This article describes how to use the DockPanel element to achieve standard layouts in XAML. While there are a number of interface elements that can be used to position controls in your application, DockPanel provides one of the easiest mechanisms for defining scalable layouts.
  • Authentication-Authorization / Windows built-in Role enumerationAug 07, 2007. In this article I will be talking about authentication and authorization. Authentication is the process which uses users cridential to validate against system, where as Authorization is the process the authenticated user has rights to do some specific task.
  • Generate XML based Resource Files on the fly in ASP.NET 1.x applicationsSep 11, 2007. If internationalization was not part of your application’s initial development cycle, but required to extend it globally at a later point of time, then creating resource files from all the UI elements is a very tedious & manual process in ASP.NET 1.x. The framework presented in this article saves a developer from manually updating the resources and keeps the resx files in sync with the webforms and user-controls by automatically generating the resx files.
  • Free Book: Programming XML with C#Sep 15, 2007. Programming XML with C# is a 65 pages book written for C# programmers who wish to learn how to work with XML documents using C# language. In this book, you will learn the basic elements of XML and classes and objects available in .NET Framework to work with XML.
  • Configuration Sections; Introducing the Custom Configuration Section Concept: Part IApr 14, 2008. Custom sections of an ASP.NET Configuration File are customized sections that a developer configures by himself. In this case, the developer also sets their attributes and elements to suit special application needs in terms of settings.
  • Media Player in WPFAug 04, 2008. This tutorial shows you how to play and control media files in WPF and XAML using WPF Media controls.
  • Handle resource files - Generate a class with strong typed properties using StronglyTypedResourceBuilder: Part VIISep 03, 2008. You can generate a class with strongly typed properties issued from a given resources file elements or attributes using other way than in Part VI handle resource files where the resgen.exe is invoked to achieve such task.
  • Creating art using Silverlight and BlendNov 05, 2008. This article shows how you can draw attractive shapes and artistic elements using Silverlight and Blend.
  • Cropping or Clipping in WPFNov 06, 2008. The Clip property of an element (defined in the UIElement class) is used to clip a region and represents the geometry that defines the content of an element.
  • Using the Media Element control in Silverlight 2Dec 02, 2008. This article describes how to use the Media Element control in Silverlight 2.
  • Introduction to Page Layout using DIV elementFeb 03, 2009. This article explains about benefits of using DIV tag over TABLE in page layout design.
  • Elements in XAMLMar 10, 2009. This article will explain Elements and their types in XAML.
  • Display Image in SilverlightMar 23, 2009. Image element represents an image control in Silverlight. This article demonstrates how to use an Image control in Silverlight to display images.
  • Parsing Markup to represent it as ObjectsApr 01, 2009. Here I place a project I made that takes any markup and turn it in form of a MarkupDocument with elements and attributes, content etc.
  • Enums in C#Jun 11, 2009. This article demonstrates how to use enumerations in C#.
  • Drag n Drop an element from one Panel to another in Silverlight 3Aug 01, 2009. In this article we see the code to drag and drop an element from one panel to another in Silverlight.
  • Element to Element Binding in Silverlight 3 using Blend 3Aug 07, 2009. This article is all about element to element binding in Silverlight using Blend 3.
  • Find Controls by Name in WPFOct 03, 2009. FindName method of FrameworkElement class is used to find elements or controls by their Name properties. This article shows how to find controls on a Window by name.
  • Binding an Enum to a ComboBoxOct 06, 2009. The following code snippet shows how to bind an enumeration to a ComboBox in WPF or Windows Forms using C#.
  • DataRow in ADO.NETNov 01, 2009. In this article I will explain about Data Row in ADO.Net.
  • Element to Element Binding in Silverlight 3.0Nov 09, 2009. In this article I am going to discuss new feature of Silverlight 3.0 called Element to Element Binding. I will show three samples to understand Element to Element Binding.
  • An XML Document and its ItemsNov 19, 2009. In this article I will explain you about XML Document and its Items.
  • Using PLINQ to Improve Learning AlgorithmsNov 30, 2009. PLINQ is a welcome addition to the .NET 4.0 framework, allowing us to operate on collection elements in parallel. This article examines the performance improvements of PLINQ over LINQ when doing heavy calculations on a large collection of genomes in a particular learning algorithm.
  • Understanding the DOM ImplementationNov 30, 2009. In this article I will explain you about DOM implementation in C# and .NET.
  • How to Quickly Build Attractive Mobile UI in VSDec 01, 2009. Every developer wishes his application was not only efficient but also attractive, full of beautiful graphical elements and easy to operate. It is definitely one of the most important factors deciding whether the app will be commercially successful or not.
  • Content Alignment in WPFDec 06, 2009. This article demonstrates how to align contents of elements in WPF.
  • Grouping and Sorting in ListBox in WPFDec 07, 2009. In this article we will see how we can group elements in ListBox.
  • Canvas in WPFDec 14, 2009. In this article, you will learn how to use a WPF Canvas panel using XAML and C#.
  • FileStream in C# Dec 15, 2009. In this article I will explain you about FileStream in C#.
  • Border in WPFDec 18, 2009. This article discusses how to use the Border element to place borders around other elements in WPF using XAML.
  • Constructing a Font object in GDI+ Dec 22, 2009. In this article I will explain about Constructing a Font object in GDI+.
  • Connecting to the Database in ADO.NETDec 23, 2009. In this article I will explain about Connecting to the Database in ADO.NET
  • Font in .NET in context of GDI classes Dec 28, 2009. In this article I will explain about Font in .NET in context of GDI classes
  • The CommandType Enumeration in ADO.NETJan 05, 2010. In this article I will explain the CommandType Enumeration in ADO.NET.
  • Convert String to EnumFeb 06, 2010. How to convert a string value to an enumeration.
  • Clipping or Cropping Images in WPFFeb 10, 2010. Clipping a region is a process of displaying partial area of a region by setting the outline of a region. In WPF, the clipping has been extended to all elements that are inherited from UIElement that includes controls, images, panels, Windows, and Pages.
  • TranslateTransform in WPFFeb 14, 2010. TranslateTransform is used to move an element from one position to other. The X and Y properties are used to move an element towards the x and y axes.
  • RotateTransform in WPFFeb 14, 2010. This article demonstrates how to rotate elements and controls in WPF using XAML and C#.
  • ScaleTransform in WPFFeb 14, 2010. Scaling is a process of stretching or shrinking an element. The ScaleTransform scales an element by a given factor.
  • SkewTransform in WPFFeb 14, 2010. SkewTransform is used to skew or shear an element. Shear can be used to add depth to elements to give them a 3-D look.
  • Video Brush in WPFFeb 20, 2010. This article demonstrates how to implement video brushes in WPF using MediaElement XAML element.
  • Transparent Brushes in WPFFeb 21, 2010. All elements in XAML including all brushes have an Opacity attribute that defines the transparency of an element. This article demonstrates how to use Opacity to implement transparent brushes in WPF using XAML.
  • LINQ to XML Part 1 - XAttribute ClassFeb 21, 2010. In this article, I will give explanation on XAttribute class. This class is used to construct Attributes in XML Elements.
  • Seek Bar For Media Element in WPFFeb 22, 2010. In this article we will see how we can add a Seek Bar that will seek to the desired position.
  • Take Screen Shot From Media Element in WPFFeb 22, 2010. In this article we will see how can we take the screenshot of the Media (Video) we are playing.
  • Media Element in WPFFeb 22, 2010. In this article we will see how to use Media Element in WPF and we will explore some of the basic functionalities such as Play, Pause, Stop, Back and Forward.
  • LINQ to XML Part 2: (XElement Class)Feb 23, 2010. In this article I describe the XElement class. This class is used to construct XML Elements.
  • Full Screen View for Media Element in WPFFeb 24, 2010. In this article we will see how we can make the Media Element to run FullScreen.
  • Hyperlink in WPFMar 07, 2010. The Hyperlink element is an inline-level content element that is used to add a hyperlink to a FlowDocument contents. You can add hyperlink support to any Inline element.
  • Selectors in JQueryMar 15, 2010. In this article, we will look into the selectors available for accessing elements of DOM.
  • Adding Elements to DOM using JQueryMar 20, 2010. In this article, we will cover functions to insert elements dynamically into the DOM.
  • Accessing Array and Collection using LINQApr 05, 2010. This article will teach you about how you can Access Array elements and Collections using LINQ.
  • WPF And User Interactivity Part I: Dealing With Geometries And ShapesApr 27, 2010. This first article will show the manner to handle elements within the scene. Indeed, WPF provides us a very helpful class, namely the VisualTreeHelper class.
  • Using Silverlight Grid ControlMay 03, 2010. The Grid control is the most flexible layout panel, and supports arranging controls in multi-row and multi-column layouts. It is conceptually similar to an HTML Table element.
  • Bind an Enumeration to a Control in C#May 18, 2010. This code snippet shows how to bind an enumeration with a ComboBox Windows Forms control using C#.
  • How to Arrange the Display of Multiple MDI Child Forms in C#Jul 14, 2010. In this article you learn how to use LayoutMdi method with MdiLayout enumeration for the Mdi Parent Form.
  • Selecting and Modifying Elements using JQuerySep 13, 2010. In the following article we will see how to fetch and modify the elements on the page.
  • Iterator Design Pattern Sep 20, 2010. The Iterator pattern provides a way of accessing elements of a collection sequentially, without knowing how the collection is structured. As an extension, the pattern allows for filtering elements in a variety of ways as they are generated.
  • Inserting element in sorted Generic list (List) using binary searchSep 20, 2010. This article shows how we can insert an item into a sorted generic list such that after insertion the list will remain sorted.
  • Play Video in SilverlightOct 15, 2010. The MediaElement control is used to display and play videos in Silverlight. This article demonstrates how to use a MediaElement control in Silverlight to play videos with the help of XAML and C#.
  • What is Iterator Design Pattern?Oct 24, 2010. The Iterator pattern provides a way of accessing elements of a collection sequentially, without knowing how the collection is structured. As an extension, the pattern allows for filtering elements in a variety of ways as they are generated.
  • Enumeration in DataContract of WCFNov 01, 2010. By default Enums are serializable. If we define Enum at service side and use it in Data Contract, it is exposed at the client side.
  • Chapter 3: Data-Tier ApplicationsNov 30, 2010. With the release of Microsoft SQL Server 2008 R2, the SQL Server Manageability team addressed these struggles by introducing support for data-tier applications to help streamline the deployment, management, and upgrade of database applications. A data tier application, also referred to as a DAC, is a single unit of deployment that contains all the elements used by an application, such as the database application schema, instance level objects, associated database objects, files and scripts, and even a manifest defining the organization’s deployment requirements.
  • Working with Elements and Properties in Windows Phone 7 Dec 01, 2010. This article explores text and bitmaps in more depth, and also describes other common elements and some important properties you can apply to all these elements, including transforms.
  • How to Handle Manipulation Events and Properties in Windows Phone 7 Dec 02, 2010. This article describes common elements and some important properties you can apply to all these elements, including transforms. This lays the groundwork for the subject of Panel elements that provide the basis of Silverlight’s dynamic layout system.
  • Enumeration in C#Dec 07, 2010. In this article you will learn how to use Enumeration in C#.
  • Data Bindings in Silverlight for Windows Phone 7Dec 14, 2010. Data bindings are most easily demonstrated using two visual elements such as a Slider and a TextBlock, and that’s where I’ll begin.
  • Basic Drawings with OpenGL using C#Dec 15, 2010. The purpose of this paper is to show the functions and elements used to plot basic shapes and implement their transformations.

About enumeration-element

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!
techbash 2016