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.
  • Directory Picker in C#Feb 07, 2001. A directory tree control let you select files or directories from any file structure on your computer system.
  • Data Structure Sample ExampleJun 04, 2001. Source code for Data Structure implemetation of Stack, Queue, Doubly linked list and more..
  • Exception HandlingJun 12, 2001. Exceptions in C# provide a structured, and type-safe way of handling both system level and application level error conditions. The exception mechanism in C# is very similar to that of C++, with a few important differences.
  • Animate System Tray in C#Jun 18, 2001. I am sure those who have worked with Visual C++ would have experienced the problem of displaying an icon in system tray and manipulating with context menus for that. Previously I use to display System tray icons with Shell_NotifyIcon by filling a structure and manipulating with a context menu for that icon is another problem.
  • Exception HandlingJul 21, 2001. Exceptions in C# provide a structured, and type-safe way of handling both system level and application level error conditions. The exception mechanism in C# is very similar to that of C++, with a few important differences.
  • PDF File GeneratorJul 26, 2001. PDF documents are the now a days is standard in Documents Exchange over the internet,as these documents are more or less platform independent and can be viewed on virtually any platform without any formatting or changes in the file structure.
  • ASP.NET and VB.NET Error HandlingAug 24, 2001. ASP.NET and VB.NET both are providing excellent error handling options when compared with ASP and VB6. In VB.NET we can make use of the structured way of error handling with the Try & Catch statement.
  • Skinned Mesh Viewer v2.2Sep 11, 2001. A Windows forms application allows you to load a Direct-X file and view its hierarchy structure.
  • Oracle Database ConnectivitySep 26, 2001. This is a GUI based data entry application which shows how to add, modify and delete records using Oracle Database.
  • 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.
  • Pointers in C#Oct 25, 2001. C# also supports pointers in a limited extent. A pointer is nothing but a variable that holds the memory address of another type. But in C# pointer can only be declared to hold the memory address of value types and arrays.
  • 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.
  • Introduction to TreeView ControlMar 11, 2002. The Windows Forms Tree View Control helps to display the hierarchy of nodes that can be used to represent the organization structure, file system or any other system which includes hierarchical representation.
  • The Making of PongMar 12, 2002. The purpose of making this classic game was to show simple game structures in C#. Concepts include the "Game Loop", "Input" and "Paint. If you are just beginning in game programming, C# is turning out to be a great place to start.
  • Custom Error Handling in ASP.NETMay 30, 2002. Structured exception handling is a fundamental part of the CLR and provides .Net programmers a great way of managing errors. In addition to CLR exception system, ASP.Net also provides ways of handling errors.
  • How to Fill Your Own Dynamic Objects using ADO.NETOct 02, 2002. Sometimes you need to use information of different types like strings, booleans or doubles in the same data structure.
  • Real Life SQL and .NET: Part IVJan 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.
  • Real Life SQL and .NET: Part VJan 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.
  • Real Life SQL and .NET: Part IIJan 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.
  • 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.
  • Real Life SQL and .NET : using SQL with C#: Part XIJan 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.
  • Real Life SQL and .NET: Part IJan 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.
  • Moving C Structures into .NET with Custom MarshalingDec 17, 2004. Microsoft provides several attributes for marshaling C to C#. In our example we will take the case where we have hundreds of structures and only a few API calls, so we only need to generate the marshaled code for the structures.
  • ClickMania GameDec 21, 2004. This is an old game, first implemented in 1996 or so... It has a great addictive power. You will quickly find out the rules. I used the winmm.dll library for playing sounds, the picturebox.Paint event to draw bitmaps in a Picturebox and a recursive function to check the balls next to each other for the colors.
  • An Assignable DateTime Class in C#Jan 11, 2005. Occasionally you run into a structure in the .NET library that you really wish was a class so you can inherit all its existing properties, override the ones you don’t like, and add new properties and methods.
  • Digging Deeper - Structures in C# Feb 22, 2005. Structures in C# are similar to structures in C and C++ but with several prominent differences. In C#, structures are value types.
  • Stack in C#Feb 22, 2005. Stacks are one of the common data structures used in the software world, which follows the First In Last Out paradigm. Stacks are used in various mathematical functions like Towers of Hanoi, finding Fibonacci Sequence , Factorial of a number to name a few.
  • Design Issues & Architectures in .NET Application DevelopmentMar 09, 2005. 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.
  • 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.
  • 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.
  • Building Stacks with C#Jun 23, 2005. The following article presents a general definition of the stack data structure and its most common functions. This article explores a sample stack implementation as a .NET class in C#, as well as some interesting usage scenarios.
  • Building Stacks with C#Jun 23, 2005. The following article presents a general definition of the stack data structure and its most common functions. This article explores a sample stack implementation as a .NET class in C#, as well as some interesting usage scenarios.
  • 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.
  • Cross Page Postback in ASP.Net 2.0Aug 11, 2006. In ASP.Net 2.0, cross-page post backs allow posting to a different web page, resulting in more intuitive, structured and maintainable code. In this article, we will explore the various options and settings for the cross page postback mechanism.
  • Restricting User InputDec 28, 2006. This article describes an approach to restricting the user’s input to letters only, numbers only, letters or numbers only, and special characters only. The approach is simple to implement and can be used whenever it is necessary to restrict a user’s response to instances where it is necessary to capture information from the user into a form’s text box control.
  • 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.
  • Generics in C# 2.0Aug 17, 2007. In this article, I just try to discuss on type safe data structures with the help of Generics in C# 2.0.
  • Sample Application: Falling Apples GameJan 08, 2008. This article is a sample application using structures, bitmaps and other concepts. Hopefully you find it an enjoyable example.
  • View database structure using C#Jan 16, 2008. This article describes an easy approach for examining all of the tables, views, and columns in a database.
  • 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.
  • 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.
  • Understanding Pattern Matching in F#Apr 30, 2008. F# introduces a code structure called pattern matching which allows you to perform some pretty interesting tasks in the language. This article will get you up to speed with this powerful technique in programming.
  • Visualize data on a mobile device using Visual StudioMay 09, 2008. This article is about displaying data in mobile applications built on .NET Compact Framework platform. It demonstrates several typical data structures and their visualization on a small display of a mobile device
  • Invalid FORMATETC structure ErrorSep 12, 2008. This tip shows how to fix Invalid FORMATETC structure error when you drag and drop a control from Toolbox to a XAML file.
  • Structs in C#Sep 25, 2008. This article introduces struct types in C# and .NET Framework.
  • Physical Data Organization and IndexingOct 07, 2008. This article is intended to explain the main storage structures used in database systems through examples in Microsoft SQL Server and Oracle Database.
  • Coding Better: Programming From the Outside In for Fluent Interfaces. Part IIFeb 01, 2009. 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 IIIFeb 02, 2009. 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.
  • Some Real Differences Between Structures and ClassesMar 02, 2009. This article lists some differences between classes and structures.
  • Xml - A Simple DatabaseMar 03, 2009. Xml can be used for different purposes. But in my programming life, I used it as database alone. I feel very comfortable while using xml as data store for my application, due to its simple structure.
  • Project Management Schedule Management FAQ seriesApr 13, 2009. In this article we will run through a quick FAQ for schedule management of software projects.
  • Basic GDI+ ObjectsNov 09, 2009. In this article we will discuss some basic GDI+ objects, such as the color-point-, and rectangle-related structures provided by the .NET Framework library. Understanding these structures is very important because they are used throughout.
  • Showing table data in hierarchical structureDec 04, 2009. In this article I am going to show how we can have table data in a tree view format.
  • Colors, Fonts, and Text in GDI+Dec 16, 2009. In this article I will explain about Colors, Fonts, and Text in GDI+.
  • Rectangle and Regions in GDI+Jan 08, 2010. In this article I will explain about Rectangle and Regions in GDI+.
  • Marshaling with C# - Chapter 3: Marshaling Compound TypesMar 14, 2010. This detailed chapter teaches you how to marshal compound types such as structures and unions in C# and .NET.
  • Show Directory Structure in TreeView Just In Time (Windows Form)Apr 15, 2010. I am ariting this article to show you how to dislpay directory structure in TreeView Just in Time as Windows Explorer does.
  • How to use BoundingBox?Jul 13, 2010. BoundingBox is a structure which defines an axis-aligned box-shaped 3D volume. Here I will show you how to use it.
  • Basics Of Data Communication: Part 6Aug 02, 2010. This article will explain, High-level Data Link Control (HDLC), HDLC Frame Structure, HDLC Operation etc.
  • Introduction to Structure MapSep 01, 2010. This article provides a basic idea about structure map for Test Driven Development.
  • 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.
  • SQL Tips: MS SQL Copy Table with Data and StructureOct 22, 2010. This article series is about the various SQL tips/techniques that I came across in my professional work.
  • 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.
  • .NET String Immutability and Related .NET Framework BugsDec 12, 2010. This article which explains several aspects of the .NET String class internal structure. Examples and workarounds are given for three distinct manifestations of a reported bug related to the TextRenderer.MeasureText function used with PathEllipsis and ModifyString flags.
  • How To Read FPT FileDec 15, 2010. Recently, I came across a situation where I need to extract the memo field data from an FPT file. After lot of googling I found this documentation which describes the FPT structure and then I decided to write my own code to parse the FPT file and extract the data stored in it.
  • Working with DateTime in C#Jan 26, 2011. The DateTime structure represents dates and time in C# and .NET. This tutorial is all about dates and time and how to perform various operations on dates and times using DateTime.
  • Structural Design Pattern for .NETFeb 24, 2011. Structural design patterns are patterns that describe how objects and classes can be combined and form a large structure and that ease design by identifying a simple way to realize relationships between entities.
  • Display Directory Structure Using TreeView Control in ASP.NETFeb 24, 2011. The sample code in this article demonstrate how to display a directory structure using a TreeView Control in ASP.NET
  • Using The Complex Type to Solve Quadratic EquationsMar 14, 2011. One of the more interesting types introduced in .NET Framework 4.0 is the Complex structure which models the mathematical entity known as a 'complex number'. This is a number of the form a + bi where i represents the square root of -1.
  • 14 Hive Directory structure in SharePoint 2010Mar 17, 2011. As you know Microsoft has replaced the "12 hive" structure that we had in SharePoint 2007 with "14 Hive" directory structure in 2010.In this article I am describing about some of the important directories used with SharePoint 2010 under 14.
  • UML Diagrams: Part 1Mar 21, 2011. UML (Unified Modeling Language) is a standardized general-purpose modeling language in the field of object-oriented software engineering. This article describes various UML diagrams and their usages.
  • SQL Server Integration Services (SSIS) - Folder Structure in SSISMar 24, 2011. In this article I shall describe the folder structure used in deploying the SSIS package and the usage of those folders.
  • Extending the DateTime structure: Part IApr 12, 2011. This article presents some "extension" methods which I hope will be useful for those developers who, like myself, work a lot with dates.
  • Extending the DateTime structure in C#: Part IIApr 14, 2011.
  • Creating SQL CubesApr 28, 2011. An OLAP (OnLine Analytical Processing) cube is a data structure that allows fast analysis of data. It can also be defined as the capability of manipulating and analyzing data from multiple perspectives.
  • Using Auto Intelligence Using C# Code Snippet for Faster Coding in C#.Net Jun 16, 2011. It is a developer's tendency to achieve functionality and forget the basic structure required in the project. Later we need to add region, try blocks and copyright information to make it professional. I myself have done many of these reworks, so my current project inspired me to think of different directions to implement an Auto Intelligence to avoid such situations.
  • Essential Concepts And Tools For Learning F#Jul 01, 2011. This article contains basic concepts and tools essential for learning F#. If you want to learn F#, do so with this.
  • Display Records of Combobox in JavaJul 29, 2011. This Java servlet will show a job to the user through a ComboBox and display the corresponding records of an employee table in tabular structure after choosing the job.
  • How to Draw Tree Structure in F#Aug 02, 2011. This article is a demonstration regarding the implementation of Tree in F# using different functions and constants. Take a review to learn.
  • ASP.NET MVC, WCF, ASP.NET Webforms, and JQueryAug 10, 2011. The sole purpose of any API within the applications I build is to deal with business layer logic and the data related to it. Ideally speaking I would want my API to return structured data which is easily transformed into a format for the client application using the API (e.g. JSON). And all my UI for web applications must be handled with client-side scripts. Client side includes both static HTML, CSS and JavaScript, and in this instance I specifically refer to JavaScript and the handling of my API’s data using JSON, for which I use jQuery.
  • Implementing and Using Fishhook Relation in Transact SQLAug 16, 2011. Here the use of fishhook relation to represent tree structures is explained through a detailed example in T-SQL.
  • General Formatter for .NET 1/4: IntroductionAug 22, 2011. In this article we will deal with the problem of formatting. We will address the question how to build a string which represents object of unknown structure and contents. This question is opposed to typical situation in which programmer formats the string which represents object of known structure, and hence contents of the string can reflect object’s semantics in their proper ways.
  • Learning JDBC (Java Database Connectivity)Sep 28, 2011. JDBC is a technology to establish communication between a java program and a DBMS. It uses SQL (structure query language) for storing, updating, or removing data from a DBMS.
  • Work with XAML in WorkflowNov 02, 2011. XAML is used for the initializing structured values and objects. With the help of this article we learn how we can use XAML in Workflow.
  • Work with INDEX in MySQLDec 13, 2011. In MySQL, index is a data structure .It improves the functionality of the table operations.
  • 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.
  • Working With PHP XML Expat Parser And XML DOMDec 31, 2011. In this article we are going to understand the concept of PHP Expat parser & XML DOM. First of all we need to know about XML. XML is used to describe data and to focus on what data is. An XML file describes the structure of the data. There are only user defined tags in XML.
  • How to Find All the Constructors, Fields and Methods of a Class in JAVAJan 25, 2012. This is the technique to find the internal structure of any class and used its attribute according his definition.
  • Tabbed Structure in Flash Builder (iPhone) ApplicationsFeb 01, 2012. This article will discuss the experience I've had through developing Tabbed Applications.
  • Arrays in CFeb 09, 2012. Arrays are a linear data structure that stores the same type of data in contiguous memory locations. Arrays are best used to store data in contiguous memory locations.
  • Control Style in WPFFeb 21, 2012. Control Styles in WPF are used to share the structure and a reusable format, which we can apply in most of our controls.
  • Working With Tree in JavaMar 13, 2012. This article describes working with a Tree structure in Java. The Tree is a very common component and I think all of you have seen them in many applications. A control that displays a set of hierarchical data as an outline.
  • Animated Tab Menu Using jQueryMar 14, 2012. Tabbed interfaces and tabbed structure menus are becoming very popular in web design & development.
  • Binary Search in JavaMar 24, 2012. In this article we are going to describe implementation of a Binary Search in the Java language. So first you should understand what a Binary Search is. A Binary Search is applicable only to a sorted array and any data structure.
  • A Smooth Tabbed Menu Using JQueryApr 04, 2012. Tabbed Interface or Tabbed Structure Menu is becoming really famous in web design & development.
  • Working With List Interface of Collection Frame Work in JavaMay 16, 2012. In this article first we inttell the about the collection frame work. because we also write a article on collection frame work so in this article we gives only definition of collection frame work. and its Hierarchy structure. and gives details its List Interface.
  • Control Structure TestingMay 25, 2012. In this article we study various types of Control Structure Testing.
  • Working With Stack Class of Collection in JavaMay 30, 2012. In this article we are going to describe all the methods and constructors of the Stack class. Java provides the easiest way to handle the Data Structure because it provides a direct class for common use.

About Structures

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!
Download Free eBooks