C# Corner

Resources  
  • TCP Date Client/ServerJan 03, 2000. Free to use Tutorials on Communicating using TCP Sockets on Microsoft's .NET Platform using C#...
  • Building the Middle Tier in the Microsoft .NET FrameworkJan 16, 2000. Building the middle tier in the Microsoft .NET Framework.
  • Creating an Empty Project using VS.NETDec 04, 2000. This tutorial guides you towards your first C# Empty project step by step. After that I'll show you how to add a class to the project and few members to the class and call this class members from the main method.
  • Creating C# Class Library (DLL) Using Visual Studio .NETDec 09, 2000. This tutorial explains how to create a C# class library(dll) and call it from a C# console client application.
  • Tutorial: Creating C# Class Library (DLL) Using Visual Studio .NETDec 09, 2000. This step-by-step tutorial shows you how to create a class library (DLL) in Visual Studio .NET.
  • GDI+ Tutorial for BeginnersDec 26, 2000. GDI+ is next evolution of GDI. In Visual Studio .NET, Microsoft has taken care of most of the GDI problems and have made it easy to use.
  • Add, Edit, Delete, View data using ADO+Jan 04, 2001. Free to use Tutorials on using ADO+ on Microsoft's .NET Platform in C# as programming language.
  • Creating a Windows Service in C#Jan 23, 2001. Windows Services is a new name for NT Services in .NET. This tutorial steps you through creating a Windows Service and how to install and start it.
  • Working with GDI+ Brushes Jan 30, 2001. This tutorial explains how to work with texture, solid, gradient, and hatch brushes.
  • Tutorial: Working with Toolbars in C#Jan 30, 2001. This tutorial explains you how to add toolbars to a form, load images to the toolbar buttons, and writing event handlers for toolbar buttons.
  • Multithreading For BeginnersFeb 15, 2001. This tutorial is for beginners who want to write their first multithreaded application in C# and .NET.
  • Developing Web Applications in VS.NET Mar 29, 2001. This tutorial describes about Step-by-step tutorial guides you towards developing your first web application.
  • Using Microsoft Message Queues to build Scalable SolutionsApr 12, 2001. This tutorial shows you how to create, send, and received messages using MSMQ from the .NET base class library (System.Messaging) and C#.
  • Connecting to a Text file using ADO.NET Apr 20, 2001. A simple step by step tutorial shows you how to connect to a text file using ADO.NET and C#..
  • Using .NET Framework Multithreading and GDI+ to Enrich the user experienceMay 04, 2001. This tutorial shows you how to create, send, and received messages using MSMQ from the .NET base class library (System.Messaging) and C#.
  • Working With OleDb Data Adapters Jun 19, 2001. This step by step tutorial guides you to create your database applications using OleDb Data Adapters in VS.NET.
  • Time Ticker2Jul 04, 2001. Microsoft had made lot of Changes for Beta2, some of the changes are old Namespace such as System.WinForms modified to System.Windows.Forms. In addition no. of new Namespaces like Microsoft.CSharp, Microsoft.JScript, Microsoft.Vsa etc...
  • Working with ReflectionJul 05, 2001. This article is about the use of reflection package in Csharp. Through Reflection we can get Information about the class.
  • Developing Windows Applications Jul 23, 2001. This tutorial explains you step by step how to create your Windows Applications using Visual C#.
  • C# foreach loopJul 24, 2001. This article demonstrates how to use foreach loop in C#.
  • Text Reader and Text Writer in C#Aug 03, 2001. A detailed tutorial and C# types such as Value and Reference types with sample examples.
  • Working with Data Bound ControlsAug 07, 2001. Step by step tutorials teaches you how to use data-bound controls DataGrid, ListBox, and ComboBox controls .
  • XML GeneratorAug 17, 2001. This article is about advance use of reflection package in Csharp.
  • C# TokenizerAug 27, 2001. A simple tokenizer in csharp without using regex or MatchCollections.
  • Simple Game Developed in C#Sep 03, 2001. This article contains the code for a simple game developed using csharp. This game is all about arranging the shuffled numbers in ascending order.
  • Working with Windows RegistrySep 25, 2001. In this small tutorial, I'll show you how to read, write and delete Windows Registry.
  • Query BuilderOct 17, 2001. This application is that of a QueryBuilder in CSharp.This application is for Beta2 SDK version of DotNetFramework.
  • Exception Handling in C#Oct 17, 2001. Exception handling is a builtin mechanism in .NET framework to detect and handle run time errors.
  • Reading and Writing XML in C#Oct 29, 2001. In this tutorial, you will learn how to read and write XML documents in Microsoft .NET using C# language.
  • Exceptions and Exception StackNov 16, 2001. The purpose of this tutorial is to explain firstly how you would go about creating your own set of exceptions to trap error conditions that could occur in your code or library, for your own benefit or for the benefit of another developer using your library. The second lesson is on how the C# exception stack works, and how you can use it to catch all types of exceptions.
  • Using MS Agent in C#-Part-I(Text To Speech)Jan 15, 2002. This article explains how to use MS Agent to write text-to-speech applications using C# and .NET.
  • Tutorial: Capturing and Running IE Instances in a Windows controlMar 15, 2002. In this article we are going to study how to find the running instances of Internet Explorer on your machine.
  • Tutorial: Working with Files and DirectoriesApr 03, 2002. One of the rich experiences in working with .NET is a huge collection of Base Class Libraries .
  • Case Study: Demo Networking Financial System May 23, 2002. In this tutorial I will discuss some of the design and development issues that one might consider when using .NET framework for developing Network affiliated applications.
  • Working with Arrays in C#Jul 09, 2002. This tutorial discusses array programming in C# and .NET. It starts with the discussion of simple arrays and then delves into more complex topics such as jagged and multi-dimensional arrays. In the end, it discusses the Array class and it's methods for searching and sorting an array's items.
  • Recipe to Implement Threads Quick n Easy in C#Aug 28, 2002. In this tutorial type article, author shows how to write threading applications quick and easy in C#.
  • Designing and Implementing a Versatile Data Access Tier Jan 16, 2003. In this tutorial, we will drill down deeper in to the design of a n-tier architecture and our focus will be on the data access tier(DAT). Our goal is to design and implement an appropriate data access tier(DAT) for scalable, reliable and interoperable web application.
  • An Introduction to C#Jan 16, 2003. This tutorial explains the basics of C#, a modern Object Oriented Programming language that was designed by Anders Hejlsberg at Microsoft.
  • Creating a Web User Control in .NETFeb 05, 2003. One of our C# Corner readers gave me the idea of converting my Add/Remove Control from a Windows Form control to a User Web Control, so we will use this control as an example for this tutorial
  • PERST: A Simple, Fast, Convenient Object Oriented DatabaseMar 05, 2003. PERST is a simple Object-Oriented Database implemented with pure C-Sharp and Java implementations.
  • CSLint: Deadlock Detector for C#Mar 12, 2003. This is a deadlock detector for CSharp programs. It builds a lock graph for the application and searches loops in the graph.
  • Creating Setup and Deployment Projects in VS.NETApr 21, 2003. This step-by-step tutorial guides you how to create a setup and deployment project using Visual Studio .NET to build a setup of your applications.
  • Building Data Access Helper Component for Microsoft SQL ServerMay 13, 2003. In this article I will be going through the development of a class library similar to Microsoft Data Application Blocks.
  • 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.
  • Boxing and Unboxing of Value Types : What You Need to Know?Jul 21, 2003. Programmers new to C# can encounter less than ideal performance and even unexpected results due to boxing and unboxing of value types.
  • Export Managed Code as UnmanagedAug 05, 2003. The following Article explains in detail how to use any .NET Assembly from BlitzPlus/Blitz3D.
  • Check Internet ConnectionAug 25, 2003. How to check if your computer is connected to the internet with C#. It's much more easier that other tutorials I've seen in other sites.
  • A Simple Guide to WMI ProviderOct 14, 2003. This article purpose is to describe how to develop a WMI provider in the .NET framework. There are several incentives for writing this article including the lack of simple examples for writing WMI provider in C#.
  • Memory Management in .NETNov 17, 2003. This tutorial describes Memory Management in .NET.
  • In Depth ASP.NET using ADO.NET: Part IIINov 18, 2003. In this article we will discuss a number of ways to retrieve, show, and update data with ASP.NET forms using ADO.NET. Also, we will have a clear idea about the most common server controls in ASP.NET.
  • In Depth ASP.NET using ADO.NET: Part VNov 18, 2003. In this tutorial we will discuss a number of ways to retrieve, show, and update data with ASP.NET forms using ADO.NET. Also, we will have a clear idea about the most common server controls in ASP.NET.
  • In Depth ASP.NET using ADO.NET: Part IVNov 18, 2003. In this tutorial we will discuss a number of ways to retrieve, show, and update data with ASP.NET forms using ADO.NET. Also, we will have a clear idea about the most common server controls in ASP.NET.
  • In Depth ASP.NET using ADO.NET: Part IINov 18, 2003. In this article we will discuss a number of ways to retrieve, show, and update data with ASP.NET forms using ADO.NET. Also, we will have a clear idea about the most common server controls in ASP.NET.
  • Working with Windows TabControl with C#Dec 16, 2003. Windows TabControl is a useful control that allows you display multiple dialogs tabs on a single form by switching between the tabs. In this tutorial, I will explain how to create and use a TabControl in your Windows applications with C#.
  • How To:Creating Dialogs in .NETDec 29, 2003. This tutorial was written in response to a newbie question in the Forums on how to create a dialog in .NET and extract the information from it.
  • MyQueue in C#Jan 09, 2004. This article attempts to explain the how MSMQ can be implemented between two forms and the very basics of message queuing.
  • Real Life SQL and .NET: Part IIIJan 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: 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.
  • 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: 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 : SQL Subqueries: Part VIIJan 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 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 : Using SQL with C#: Part IXJan 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 XJan 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 VIJan 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 XIIJan 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.
  • Audio Video Modules for ASP.NET Community Starter Kit : Part IVJan 19, 2004. In this tutorial, we will build an additional module for ASP.net CommunityStarterKit that enables you to publish audio and video contents. This module works together with Windows Media Services and it is written in C#. You have to install CommunityStarterKit (C# version for VS) to follow this article.
  • Audio Video Modules for ASP.NET Community Starter Kit : Part IJan 19, 2004. This tutorial describes about Audio Video Modules for ASP.NET Community Starter Kit and how to use the starter kit in your applications.
  • DataTable in C#Feb 17, 2004. The ADO.NET DataSet is a data construct that can contain several relational rowsets, the relations that link those rowsets, and the metadata for each rowset. The DataSet also tracks which fields have changed, their new values and their original values, and can store custom information in its Extended Properties collection. The DataSet can be exported to XML or created from an XML document, thus enabling increased interoperability between applications.
  • Oracle Data Provider for .NET : Part IIFeb 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.
  • Oracle Data Provider for .NET : Part IVFeb 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.
  • 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.
  • Oracle Data Provider for .NET : Part IIIFeb 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.
  • My First Tablet PC Application using C#May 24, 2004. This step by step tutorial shows you how to create your first Tablet PC application using Visual Studio .NET and C# with the help of Microsoft Tablet PC API.
  • Short Cuts for Toolbar ButtonsJul 26, 2004. This tutorial tells the story about "How to create short cuts for toolbar buttons?".
  • Introduction to ASP.NETNov 17, 2004. I have seen many tutorials on ASP.NET but most of them starts with coding and writing your first ASP.NET program. But here I have written this tutorial for explaining why there is a need for ASP.NET when classy ASP is working fine, what are the underlying technology behind ASP.NET, and what programming model ASP.NET provides to programmers.
  • Evolving into an N-Tier ApplicationMar 23, 2005. This article gives description about evolution of N-tier application.
  • MDI (Multiple Document Interface)Jul 05, 2005. This tutorials describes about Multiple Document Interface.
  • Convert a Comma Delimited String to an Array in C#Aug 01, 2005. This article shows how to convert an array to a comma delimited string in C#.
  • Object DataSource in ASP.NET 2.0Aug 19, 2005. ObjectDataSource control is one of these new data control added to ADO.NET 2.0. This control is used to bind objects to data-bound controls. In this step by step tutorial, I will discuss how to use ObjectDataSource control in your data-driven Web applications.
  • ASP.NET 2.0 FileUpload ControlOct 09, 2005. ASP.NET 2.0 FileUpLoad control is used to browse and upload a file from a web page. This tutorial shows how to use ASP.NET 2.0 FileUpload control.
  • ASP.NET 2.0 BulletedList ControlOct 09, 2005. ASP.NET 2.0 BulletedList control is used to create a list of items formatted with bullets such as circular and rectangle bullets. This tutorial shows how to use BulletedList control in ASP.NET 2.0 and C#.
  • Binding an ArrayList with DataGrid ControlOct 24, 2005. I have seen several questions on how to bind an ArrayList with data-bound controls such as a DataGrid. In this step by step tutorial, I will show how to create an ArrayList of objects and bind it to a DataGrid control.
  • Hashtable in C#Nov 14, 2005. Hashtable is useful when you need to store data in a key and value pair. This article shows how to use hashtable in C#.
  • Revised Generic 'T, K' Database ComponentDec 20, 2005. This is the code behind the Generic 'T, K' Database Component.
  • Portscanning for Kazaa using C# SocketsJan 01, 2006. In this article, you will learn how to write c# code to scan a host computer, and determine if it is running Kazaa, the popular P2P file sharing program.
  • Using the DPAPI through ProtectedData Class in .Net Framework 2.0Jan 05, 2006. The objective of this tutorial is to show how the DPAPI can be used to encrypt and decrypt data. Encrypt some data using ProtectedData Class in System.Security.Cryptography namespace and save it to a file. Show that the data can be decrypted using the same class but deferent method. Login as a different user,and show that the data cannot be decrypted.
  • Working with WebParts Page, WebPart Zones & WebPartsJan 12, 2006. This tutorial considered to be the second part of the first tutorial "Creating a Simple WebPart Page and use WebServer controls as WebParts". Here we will see how can we remove and add WebParts during run time, adding personalizable properties to your WebParts and modifying there values also in run time.
  • WebParts Communication: How WebParts on a page communicate with each otherJan 17, 2006. In this tutorial we will describe how to make WebParts on a WebParts Page communicate with each other. So will see how to use ConnectionsZone and how to enable WebParts to talk to each other by connecting them.
  • Wrapper Patterns in C#, Part III: The Decorator PatternFeb 15, 2006. Did you ever wish for a superhuman power to be impervious to bullets or travel outside your body? How about the superpower to be able to breathe underwater or fly? Or how about a changing the way you look so you can disguise yourself as anyone, or anything? In this series of four articles, we will travel down the C# rabbit hole and see how it is all possible with some wrapper patterns: Proxy, Decorator, and Adapter.
  • Wrapper Patterns in C#, Part IV: The Adapter PatternFeb 16, 2006. In this series of four articles, we will travel down the C# rabbit hole and see how it is all possible with some wrapper patterns: Proxy, Decorator, and Adapter.
  • The C# Value Type and BoxingFeb 17, 2006. Even though with the .NET framework we don't have to actively worry about memory management and garbage collection (GC), we still have to keep memory management and GC in mind in order to optimize the performance of our applications. One of the things we need to be aware of is how the Common Language Runtime (CLR) deals with references to value types.
  • Reading a word document using C#Feb 27, 2006. This tutorial is basically for C# beginners. It describes how to read a word document using C#.
  • How to Pass Control Values between Windows FormsMar 03, 2006. There are many questions about how to pass control's values from one form to another. This article is a step by step tutorial on how to pass a TextBox value from one windows form to a second form.
  • 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.
  • Automated Code Coverage and Unit TestsMar 08, 2006. A short tutorial that explains how to use a code coverage tool and how it can be integrated with unit tests to allow us to determine how well the unit tests exercise our application/classes. Code examples are written using C#.
  • Add some elegance to your code using C# ListMar 31, 2006. A short and to-the-point tutorial that demonstrates how to sort and search using List in C#.
  • C# Defensive Event Publishing Using InterfacesApr 03, 2006. This article explains how to use interfaces for C# Defensive Event Publishing.
  • C# Anonymous Methods & The Action ObjectApr 04, 2006. Two interesting additions to the 2.0 C# language are the Action<> object, and anonymous methods. The Action<> object lets you specify an action to be performed on an object and the anonymous method lets you specify a method with no body (thus... the anonymity).

About Csharp-tutorials

NA

SPONSORED BY

C# Corner Chandigarh DevCon16
Chandigarh DevCon16 is a one-day Developer Conference where programmers, technologists, authors, and members meet, demonstrate, plan, and hang out.
Download Free eBooks