C# Corner

Resources  
  • Shuffle Game for BeginnersJan 05, 2000. This code sample is a GDI+ shuffle game aimed for beginners. Attached zip file includes the exe and the Shuffle.cs file.
  • A Graphics Component in C#Jan 15, 2000. In this example we have an XYGraph Component and a form that uses it.
  • Read a file using C#Jan 15, 2000. This program just demonstrate the use of FileStream & StreamReader.
  • Chat Server with Client Implemented with C#Jan 19, 2000. The Main Heart of the program is taken from the sample program of Gopalan Suresh Raj modified as per requirement & presented in front of you..
  • Yahtzee Program using C#Jan 24, 2000. The Visual C# environment has given the programmer the ability to create applications in RAD mode without the steep learning curve for the C++ programmer. (I do miss templates though!). The above application, yahtzee, is based on a popular poker-like dice game.
  • Business Card Designer Using C#Jan 30, 2000. For those of you that don't want to go out and buy a fancy business card utility, this article may prove to be just the trick for designing easy colorful business cards.
  • Meal Scheduler in C#May 04, 2000. This service reminds you when it time to eat your lunch, BF or dinner.
  • Meal Scheduler in C#May 04, 2000. In this application once you enter your meal timings. A message box will appear on the screen while you are working and remember you about your meal with light sound.
  • Graphics Animation SampleMay 16, 2000. After finishing a text program (lottery) its time for some fun. Everytime a have to work with a new language.I write a small program to bounce some balls in a box.
  • My First C# ProgramSep 29, 2000. This article explains how to create your first C# program.
  • Creating a Class and Call it from Main ProgramSep 30, 2000. This article explains how to create your class, add some functions and call it from Main function.
  • A Simple Calculator ClassNov 28, 2000. Code sample shows how to create a simple calculator class and call it from Main C# program.
  • Get IP Address of a HostDec 03, 2000. The .Net DNS class can be used to get a host name or an IP of a given host name. To use DNS class in your project, you need to include System.Net
  • CSDownloadURL : Download Contents of a Web PageDec 03, 2000. CSDownloadURL is a class which has two functions - SetURL and DownloadURL. The set URL sets the current URL and GetDownload downloads the URL contents and returns its contents in a string.
  • ColorDialog : How to use?Dec 21, 2000. Changing color of your Window and its controls is a piece of cake in C# using ColorDialog class.
  • 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.
  • The Convert Class : Conversion Made Easy in .NETJan 08, 2001. The Convert class takes care of most of the data type conversions in .NET programming.
  • SmtpMail and Mail Message : Send Mails in .NET Jan 12, 2001. You can use SmtpMail and MailMessage to send mails in .NET.
  • Database Explorer : Part 2Jan 22, 2001. Attached is a C# program which is a enhanced version of the previous article on ADO.NET.
  • 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.
  • PaintBrush in C# - IIJan 30, 2001. This is a PaintBrush Application. In this Paintbrush user can draw some images and he can save the images in a persistence storage and later time can retrive the images.
  • Working with GDI+ Brushes Jan 30, 2001. This tutorial explains how to work with texture, solid, gradient, and hatch brushes.
  • SQL Programming using .NETFeb 01, 2001. This program shows several data objects, some draw backs of each and some interesting things.
  • ADODataReader- Writing DataSets to XMLFeb 04, 2001. This file uses ADODataReader and other objects to write DataSets to XML and filling data from the XML files.
  • 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.
  • Horoscope Web ServiceFeb 08, 2001. An article talks about web services and how to develop them using .NET.
  • Making UI more responsive using ThreadingFeb 12, 2001. This example shows how threads can help us to make User interface more responsive when we have some background jobs.
  • 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.
  • Multithreading For BeginnersFeb 15, 2001. This tutorial is for beginners who want to write their first multithreaded application in C# and .NET.
  • Schedule Program Using C#Feb 22, 2001. The Scheduling program consists of three main classes. The Form, the DatabaseController used to read and write scheduled events into the database and RowData which corresponds to data extracted from a row in the database.
  • Copying and Pasting on Clipboard using C#Feb 23, 2001. If you use CTRL+C, some data or files are copied to a system clipboard and stored in system memory and when you use CTRL+V, the data is copied back to wherever you paste it. The Clipboard class provides functionality to place and retrieve data from the system clipboard. Usually
  • Interactive ButtonsFeb 26, 2001. By using control properties, you can give your program an interactive look as you see on web sites.
  • Reflection in .NETFeb 26, 2001. Refelction is the mechanism of discovering class information solely at run time. Wondering where it would be useful?
  • Sticky NotepadMar 05, 2001. I wanted to experiment with writing a program that would run from the "System Tray" of window (that's where you have the date displayed...) since that's not possible with pure Java.
  • Deploying Programs in C#Mar 08, 2001. Deploying projects in Visual Studio.NET is fairly straightforward. Most of the process is automated for you through some convenient wizards so it doesn't require much effort. Keep in mind, though that you probably need the Windows Component Update Beta 1 on the machine you are deploying to. I suspect you also need the Microsoft .NET Framework, as well (for now).
  • Deploying Programs in C#Mar 08, 2001. Deploying projects in Visual Studio.NET is fairly straightfoward. Most of the process is automated for you through some convenient wizards so it doesn't require much effort.
  • Loading a Form IconMar 13, 2001. In .NET framework, the Icon class represents a Windows icon, which is a small bitmap image used to represent an object. The icon class is defined in System.Drawing namespace.
  • Write Relational Data to an XML FileMar 15, 2001. This article shows you how you can write data from a database to an XML file using DataSet.
  • Mail Merge ProgramMar 16, 2001. This is a simple mail merge program. This program reads from 3 different text files (by default) and merge all the info to produce mail documents.
  • Programming in ADO.NETMar 19, 2001. A simple example shows you how to read a database table in a dataset and display in a list view control.
  • Visual Studio .NET: Start upMar 20, 2001. The next version of Visual Studio 6.0 is Visual Studio .NET (VS.NET). In the previous versions of Visual Studio Microsoft has different menu options to pick development environment such as VC++, Visual FoxPro, Visual Basic or Visual Interdev. This version of Visual Studio has integrated everything in one IDE. The reason for that might be all development languages share common library and tools.
  • ADO.NET DataSet ProgrammingMar 20, 2001. A sample project shows you how to add, edit, delete, navigate, save records in a database using DataSet.
  • Mail Merge Program - Part 2Mar 21, 2001. This is a simple mail merge program (Part 2). This program reads from the access database (by default) from a specified table.
  • Simple Web File DownloadMar 23, 2001. This is a simple program that shows how to download files from the web and save them. The program uses the HttpWebRequest and HttpWebResponse classes to request and retrieve the requested file.
  • Simple SMTP MailerMar 26, 2001. This is a simple program which shows how to send mail via SMTP without using any framework support. While using the .NET SMTP classes may be a little easier, it is good to be able to go under the hood and get your hands dirty to understand what is going on at the socket level. For simple text messages, this implementation works fine.
  • FTP Server in C#Mar 26, 2001. The application is a simple implementation of FTP Protocol RFC 959.
  • Reading XML FilesMar 28, 2001. In this article, I will show you how to use the XmlTextReader class to read an XML document and write data to the console.
  • Inserting Data to an XML DocumentMar 28, 2001. The XmlNode and the XmlDocument classes can be used to insert XML data to an existing document or to a new document.
  • 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.
  • Web Request ClassApr 04, 2001. This is a simple application that the gets the source of a webpage via the WebRequest Object.
  • Compilation and Runtime Execution of a C-Sharp ProgramApr 10, 2001. C-Sharp (C#) is a strongly typed object-oriented programming language designed to give optimum composition of simplicity, expressiveness and performance.
  • File Merger and Splitter in C#Apr 10, 2001. This program can break up a large file into several files AND merge those files back into one single large file.
  • Love CalculatorApr 11, 2001. This is an application can be used to calculate degree of love.
  • 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#.
  • Stock QuoterApr 16, 2001. This program will retrieve a stock quote from a website and automatically forward it to an email at any frequency you would like.
  • Creating a Login User ControlApr 16, 2001. In this article, we have started with an introduction to the UserControl and have learnt to use the ADO+ DataReader.As we seen User Controls simplifies several common Web application scenarios.User Controls allow developers to easily define custom controls using the same programming techniques for writing Web Forms.
  • Naming Guidelines in .NETApr 20, 2001. Commenting and following a uniform naming guidelines in your code is one of good programming practices to make code more useful.
  • Rotation SampleApr 24, 2001. After reading Mike Golds article on transforms I thought I would get things moving a bit!
  • Reading XML File using XmlDocumentApr 26, 2001. In this article Reading XML File using XmlDocument.
  • Defining Custom Entry PointsApr 30, 2001. In this article i am going to demonstrate how we can manipulate the IL code to change the behaviour of how the .NET programme executes.
  • Find Files in C#May 01, 2001. I have developed a small application in c#, which helps in searching u'r hard disk for files of the desired extention.
  • Connect to an Oracle DatabaseMay 03, 2001. This sample code shows you how to connect to an Oracle database using 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#.
  • A Lottery Program in C#May 05, 2001. I am learning C# in any spare time I have and instead of diving in and writing a monster program I thought a nice introduction would be good.
  • Auto CompilerMay 05, 2001. This is a utility to make it easier to compile from the command line. One of the problems with using the command line.
  • Line Numbering Utility in C# and JavaMay 08, 2001. This is the first of the series of programs I wish to write to help myself get a handle on C#.
  • .NET framework comparison with Java ArchitectureMay 08, 2001. This article outlines Microsoft's proposed standardization of .NET framework in ECMA forum as CLI (Common Language Infrastructure), but the Microsoft documentation refer this as CLR (Common Language Runtime).
  • Quote ResponderMay 09, 2001. The program will periodically check your mail for incoming email requests for a stock quote.
  • SQLDataReader Vs. DataSetMay 11, 2001. To compare and contrast SQLDataReader and SQLDataSetCommand.
  • Regular Expressions ExampleMay 14, 2001. The following example shows the use of Regular Expressions in C#.This program has basic validation scripts for validation easily useable in all programs.
  • Transaction Web SiteMay 16, 2001. When I started working with this technology I faced a problem dealing with session as in any transaction or Database oriented portal this is a must requirement to deal with.
  • Working With Process ClassMay 22, 2001. This article is aimed at introducing the novice .NET developer to the basic usage of System.Diagnostics services included in the .NET BCL.
  • Graphics Animator in C#May 26, 2001. This program will generate a html page with animated gif. You just need at least 2 gifs and use the program to set the time to display each image.
  • Using Reflection and With Class2000 to view the .NET System.Drawing library Part IMay 29, 2001. Using the power of .NET and the power of COM InterOperability through WithClass 2000, you can view the System.Drawing library in a rough UML diagram.
  • Web Scanner Part-1Jun 01, 2001. My favourite technology web site is updated throughout the day. I thought it would be nice to have a program that checked every 30 minutes for updates and told me what stories were there.
  • Digital Watch In C#Jun 04, 2001. GDI+ sample example shows you how to create a Digital Watch.
  • Catch Hold of Device CapabilityJun 05, 2001. If you are developing Mobile Application and been through the different standards in Market.
  • GDI+ Samples: Rectangle, 3D, and EllipseJun 07, 2001. This article has three sample examples on GDI+ - Rectangle, Ellipse, and 3D.
  • Image Viewer in C#Jun 07, 2001. ImageViewer lets you to view images of types bmp, gif, jpeg, ico, wmf, emf. It also allows you to convert images to bmp, gif and jpeg formats. This application illustrates the usage of PictureBox class, Bitmap class etc.
  • Reminder ProgramJun 08, 2001. The program allows you to set a running timer to remind you of an upcoming event.
  • C# and its FeaturesJun 09, 2001. C# is a modern, type safe programming language, object oriented language that enables programmers to quickly and easily build solutions for the Microsoft .NET platform.
  • Color GuideJun 11, 2001. This Program will generate all the colors that are supported in C# according to the Name.
  • 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.
  • Word Jumble In MobileJun 13, 2001. Here is an application where u can Play Word Jumble in Mobile.
  • 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.
  • ADO.NET: What's changed in .NET Beta 2?Jun 20, 2001. ADO.NET API is one of the changed APIs. In this article, I've covered some of ADO.NET changes in Beta 2.
  • TCP/IPLib SampleJun 22, 2001. This compopnent contains both a TCP/IP server and client. TcpIpClient inherits from System.Net.Sockets.TCPClient and is very straight forward. After construction, specifying the host and port, a network connection is established by calling Connect(). Internally, upon a successful connection, the client receives a TcpIpPacket, which contains a unique cookie that is used in any subsequent transactions.
  • What & Why : Properties :: Part 1Jun 26, 2001. If you were programming in C or C++ before coming to C#, you'll be a little bit confused about properties.
  • Snooping on C#.NET Regular ExpressionsJun 26, 2001. I present here two micro test utils, which will let you play with regular expressions. Regular expression( System.Text.RegularExpressions.Regex ) is a powerful class very useful for parsing, splitting or replacing texts.
  • Time TickerJun 26, 2001. Graphics Class encapsulates a GDI+ drawing surface. The FromHWND method is used to create a new instance of the Graphics class from a window handle. Clear method fills the entire drawing surface with the specified RGB color by using Color class. DrawString method draws a string using Font and SolidBrush classes.
  • 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.
  • What's in Mobile Internet Tool?Jul 05, 2001. The New Name For .NET Mobile Web Is Mobile Internet Toolkit.
  • .NET Brings The Fun Back to ProgrammingJul 11, 2001. Today, we are all comfortable sitting in front of our high powered computers running graphical user interfaces and compiling code in sophisticated development environments.
  • ShapedForms in C#Jul 13, 2001. Today Windows always appear with a rectangular shape. What if you could have a window that was shaped like a circle, a square or a triangle or any shape you want.
  • Scaling an ImageJul 13, 2001. This code will show You on way to scale an image with .Net Beta 2.
  • Mobile with Access DatabaseJul 14, 2001. Till now we had done the Programming using SQL Server and XML as Database.
  • Using/Debug Option During CompilationJul 15, 2001. This source code below is an an example of how to use /debug option during compilation.
  • Calling Java Program from C#Jul 18, 2001. This article shows you how to call a Java program from C#.

About Systems-Programming

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