| Home : Programming : C# |
| Click "Subscribe" if you want to be notified of new or updated links in this category. | Subscribe |
|
|
C# Listings
|
|
Total:
59 | Displaying: 11 - 20 | Pages: << 1 2 3 4 5 6 >> |
|
|
|
C#, (pronounced "C sharp") is a new programming language announced by Microsoft in June, and scheduled to debut at the Microsoft Professional Develper s Conference(PDC). C# is Microsoft researcher Anders Hejlsberg's latest accomplishment. C# looks astonishingly like Java; it includes language features like single inheritance, interfaces, nearly identical syntax, and compilation to an intermediate format. But C# distinguishes itself from Java with language design...
Updated: 03/13/2005
|
|
|
C# is a simple ,modern,object oriented language derived from C++ and Java. 2. It aims to combine the high productivity of Visual Basic and the raw power of C++. 3. It is a part of Microsoft Visual Studio7.0 . 4. Visual studio supports Vb,VC++,C++,Vbscript,Jscript.All of these languages provide access to the Microsft .NET platform. 5. .NET includes a Common Execution engine and a rich class library. 6. Microsofts JVM eqiv is Common language run time(CLR). 7. CLR...
Updated: 03/13/2005
|
|
|
This is my first C# article. I searched the net to see what articles were available on C# and found that there were none for the IL disassember, a very useful tool for .NET programmers. Users will find it to be very important once they start using it. You can get IL disassemble tool as ILDasm.exe in directory C:Program FilesMicrosoft.NETFrameworkSDK in (Windows OS). So what does this tool do? The answer to this question is found in the tutorial supplied with .NET SDK...
Updated: 03/13/2005
|
|
|
This is a simple C# Program that illustrate the usage of DataGrid with DataSet. Create Database and Table accordingly. /* * Simple C# example to illustrate the usage of Dataset with DataGrid * Need to change the url and query accordingly */ using System; using System.Data; using System.Data.SqlClient; using System.Drawing; using System.Windows.Forms; public class DataGridSample:Form{ DataGrid myGrid; SqlConnection con; SqlDataAdapter adapter; DataSet ds; Button ok,...
Updated: 03/13/2005
|
|
|
I have developed a C# component that converts objects to an XML stream and vice versa. The main .NET focus is on System, System.Reflection and System.XML assemblies. The user has access to a default constructor and four public methods; two methods to create an XML stream or file from an object and two that creates an object from from an XML file or stream In the creation of the stream, the component does a deep copy of any contained objects. One conversion limitation...
Updated: 03/13/2005
|
|
|
This is an example of a timer in C#. It gives you an understand of time / clock and time conversion functionality. Some Tips using Timer: 1.Timer_Event will fire only after the Timer.Start() method is called. 2.Interval property is used to set the interval between Timer_Event. 3.Timer can be stopped either by disabling the Timer or calling the Stop() method. using System; using System.Windows.Forms; using System.Drawing; class TimerDemo:Form { Timer Clock; Label lbTime=new...
Updated: 03/13/2005
|
|
|
C# introduces a new concept known as Indexers which are used for treating an object as an array. The indexers are usually known as smart arrays in C# community. Defining a C# indexer is much like defining properties. We can say that an indexer is a member that enables an object to be indexed in the same way as an array. this [argument list] { get { // Get codes goes here } set { // Set codes goes here } } Where the modifier can be private, public,...
Updated: 03/13/2005
|
|
|
| Simple program to demonstarte the power of c# on the Net. This program require web server e.g(java web server ,apache etc). Hello.cs class zzz { public static void Main() { System.Console.WriteLine("Content-Type:text/html "); System.Console.WriteLine(""); System.Console.WriteLine(" "); System.Console.WriteLine("Hello to everyone.Its me Manish babbar"); System.Console.WriteLine(""); } } Compile the class Hello.cs .This will...
Updated: 03/13/2005
|
|
|
A class, representing ABOUT form in C#. Use it in your projects. Here is an example of how we can make an ABOUT form. To use the class in your projects, you can write the following lines, somewhere in your code: fAbout frmAbout=new fAbout; frmAbout.ShowDialog(); So the about form will show itself modally in the center of the screen. Change some of the text things in the fAbout class to make it usable for you. Here is the class itself : // Here is an example of an ABOUT...
Updated: 03/13/2005
|
|
|
An event is defined in C# as 'a member that enables an object or class to provide notifications'. Now, let us see in detail what an event is and how notifications are provided in C#. In an application, the change in status (or certain properties) of an object may result in some actions to be performed. For e.g., consider a dialog box with some buttons in it. Pressing any of these buttons will have to perform an action, for e.g., starting a new process or closing the dialog....
Updated: 03/13/2005
|
|
|
C# Listings
|
|
Total:
59 | Displaying: 11 - 20 | Pages: << 1 2 3 4 5 6 >> |
|
|