Search - Articles
DevASP.NET for ASP.NET, VB.NET, XML and C# (C-Sharp) Developers Tuesday, March 03, 2009
Dev Articles
Search Directory
SQL Server

Home >Search > Articles & Samples > C-Sharp
What's New - What's Hot
Listings for Assembly Assembly (254)
Listings for Attributes Attributes (152)
Listings for Authentication Authentication (27)
Listings for Automation Automation (86)
Listings for Binding Binding (4)
Listings for C# and XML C# and XML (203)
Listings for Cachy Cachy (57)
Listings for Code Generation Code Generation (215)
Listings for Collection Collection (165)
Listings for Collection Controls Collection Controls (53)
Listings for Com Component Com Component (214)
Listings for Compiler Compiler (47)
Listings for Configuration Configuration (156)
Listings for Custom Controls Custom Controls (865)
More Categories for Database Database (993)
Listings for Date & Time Date & Time (272)
Listings for Debug and Tracing Debug and Tracing (163)
Listings for Email Email (136)
Listings for Error Handling Error Handling (34)
Listings for Events & Delegates Events & Delegates (369)
Listings for Exception Handling Exception Handling (147)
Listings for FAQ FAQ (16)
More Categories for File Management File Management (45)
Listings for Form Handling Form Handling (9)
Listings for Graphics & Charts Graphics & Charts (773)
Listings for Guest Book Guest Book (3)
Listings for Introduction Introduction (72)
Listings for Java And C-Sharp Java And C-Sharp (158)
More Categories for Language Reference Language Reference (681)
Listings for Messaging Messaging (24)
Listings for Metadata Metadata (28)
Listings for Miscellaneous Miscellaneous (1590)
Listings for Multilingual Support Multilingual Support (17)
Listings for Multimedia Multimedia (276)
Listings for Namespaces Namespaces (61)
Listings for Object Oriented Programming Object Oriented Programming (538)
More Categories for Office Documents Office Documents (86)
Listings for Performance/Optimization Performance/Optimization (131)
Listings for Reference Reference (111)
Listings for Reflection Reflection (160)
Listings for Registry Registry (83)
Listings for Regular Expressions Regular Expressions (264)
Listings for Remoting Remoting (118)
Listings for Sample Chapters Sample Chapters (79)
Listings for Sample Programs Sample Programs (2653)
More Categories for Scripting Scripting (262)
Listings for Security & Encryption Security & Encryption (367)
Listings for Serialization Serialization (133)
More Categories for Server Controls Server Controls (1046)
Listings for Socket Programming Socket Programming (85)
Listings for System.Net System.Net (391)
Listings for Threading Threading (325)
Listings for Tips & Tricks Tips & Tricks (1384)
Listings for Type Casting in C# Type Casting in C# (47)
Listings for User Management User Management (60)
Listings for Validation Validation (34)
More Categories for Web Services Web Services (177)
Listings for Windows Forms Windows Forms (1087)
Listings for Windows Services Windows Services (160)

Named arguments in C# 4.0  Version: 0.00     Price: $0.00  
Total Hits: 0  |  Today: 0Author: Shankey      Rating:  
Read Reviews | Write Review |  Your Rating: 

This new feature of c# 4.0 allows users to define arguments in the calling statement in any order rather than defined in the parameter list (Argument list references the calling statement and parameter list references the method prototype). With this new feature the user can call a method by passing arguments irrespective of their actual position....

Matrix Calculator  Version: 0.00     Price: $0.00  
Total Hits: 1  |  Today: 0Author: JadBenAutho      Rating:  
Read Reviews | Write Review |  Your Rating: 

Matrixes are useful for so many things. My code demonstrates a small part of it, like solving sets of many equations, finding connections between vectors, multiplying, adding matrixes, and more. I thought that it will be most useful if matrixes wouldl come with the ability to handle complex numbers as well as rationals. I have split the code to the following headers to make it more simple: the main part RationalComlpexMatrix is based on the RationalComplex class, that is based on the Rational cl...

Critical Path Method Implementation in C#  Version: 0.00     Price: $0.00  
Total Hits: 3  |  Today: 0Author: leniel      Rating:  
Read Reviews | Write Review |  Your Rating: 

The Critical Path Method or just CPM is a mathematically based algorithm for scheduling a set of project activities....

Filling in the Gaps: Simple Interpolation  Version: 0.00     Price: $0.00  
Total Hits: 0  |  Today: 0Author: John D. Cook      Rating:  
Read Reviews | Write Review |  Your Rating: 

Sometimes you don't have data where you need it. Maybe you have figures collected sporadically but you need to present them as if they were collected at regular intervals, say once a week. Or maybe you need to make your best guess at missing data points. This is a job for interpolation.

Sometimes instead of wanting to guess at output values for inputs that you choose, you want to do the opposite: You have an output in mind and you need to guess what input would give you the output that yo...

Library for linear algebra methods in C#.NET and its application to computational heat transfer  Version: 0.00     Price: $0.00  
Total Hits: 1  |  Today: 0Author: VijayaSekhar Gullapalli      Rating:  
Read Reviews | Write Review |  Your Rating: 

This article presents a library developed in Microsoft VC#.NET, which contains methods used in linear algebra. Methods for inversion of matrices, finding determinant and solving linear systems are presented here. The advantages of using an object oriented language for computational problems is also discussed here....

Maximum Value Contiguous Subsequence  Version: 0.00     Price: $0.00  
Total Hits: 2  |  Today: 0Author: karamana      Rating:  
Read Reviews | Write Review |  Your Rating: 

This article describes a dynamic programming method to solve the "Maximum value contiguous subsequence problem". The problem is defined as follows: given a sequence of n real numbers A(1) ... A(n), determine a contiguous subsequence A(i) ... A(j) for which the sum of elements in the subsequence is maximized....

Discriminatory Power Analysis by Receiver-Operating Characteristic Curves (Part 1 of 2: Theory)  Version: 0.00     Price: $0.00  
Total Hits: 0  |  Today: 0Author: César de Souza      Rating:  
Read Reviews | Write Review |  Your Rating: 

When dealing with systems, methods or tests involving the detection, diagnostics or prediction of results, it is very important to validate obtained results in order to quantify and qualify its discriminative power as good or not for a given analysis. However, we must consider that the simple quantization of hits and misses on a test group does not necessarily reflects how good a system is, because this quantization will fundamentally depend on the quality and distribution of this test group dat...

A C# Implementation of the VF Graph Isomorphism Algorithm  Version: 0.00     Price: $0.00  
Total Hits: 2  |  Today: 0Author: darrellp      Rating:  
Read Reviews | Write Review |  Your Rating: 

The attached code is an implementation of the VF graph isomorphism algorithm. This algorithm is available at the VF Graph Comparing library, and there are other programs which form a wrapper to call into this library from, for instance, Python. The same could certainly be done for C#, but the code here implements the algorithm entirely in C#, bypassing the C++ library altogether. There were a few reasons for this. First, this offers the algorithm in an entirely managed environment. Second, I fou...

Handwriting Recognition using Kernel Discriminant Analysis  Version: 0.00     Price: $0.00  
Total Hits: 1  |  Today: 0Author: César de Souza      Rating:  
Read Reviews | Write Review |  Your Rating: 

Linear discriminant analysis (LDA) is a method used in statistics and machine learning to find a linear combination of features which best characterizes or separates two or more classes of objects or events. The resulting combination may be used as a linear classifier, or, more commonly, for dimensionality reduction before later classification....

Redefine Your Build Process with Continuous Integration  Version: 0.00     Price: $0.00  
Total Hits: 0  |  Today: 0Author: Jay Flowers      Rating:  
Read Reviews | Write Review |  Your Rating: 

When using a Continuous Integration (CI) system, team members integrate application components early and often, up to several integrations a day per developer. Lest that idea set your teeth on edge, note that each integration is immediately checked and verified by an automated build to find any errors instantly. While the concept of CI might take some getting used to, it can be a valuable system....

Another TCP echo server using IOCP  Version: 0.00     Price: $0.00  
Total Hits: 1  |  Today: 0Author: José Vitor      Rating:  
Read Reviews | Write Review |  Your Rating: 

This tip shows a very simple non-blocking TCP echo server using Windows Input/Output Completion Ports, capable of handling any number of clients simultaneously....

Inserting & Retrieving records from M.S.Excel-2007 using oledb in  Version: 0.00     Price: $0.00  
Total Hits: 5  |  Today: 0Author: Prashanth Chindam      Rating:  
Read Reviews | Write Review |  Your Rating: 

To develop a windows application using to insert, search and update records in M.S.Excel-2007 file using OleDb Connection....

A LINQ Tutorial: Mapping Tables to Objects     
Total Hits: 25  |  Today: 0Author: Hacker Chick      Rating:  
Read Reviews | Write Review |  Your Rating: 

The purpose of this article & Book Catalog application is to provide an introduction for beginners to LINQ on how to:

1. Map your SQL Server database tables and their relationships to your objects using LINQ to SQL
2. Perform some simple LINQ queries against those objects to retrieve your data.

The article walks through each of these steps to explain how you can do this in your own applications. The attached Book Catalog application includes all of the mappings described h...

SOLID and DRY Part 2     
Total Hits: 37  |  Today: 0Author: Jeremy Likness      Rating:  
Read Reviews | Write Review |  Your Rating: 

The interface segregation principle simply dictates that you design your interfaces with the other principles in mind. Instead of creating a bloated interface, interfaces should be segregated into cohesive units of functionality. This way the implementation of the interface can focus on what is important for that class. To better illustrate this, consider a data access class. One common approach might be to interface that class, and declare methods for loading, saving, updating, deleting, search...

Customized TabControl by Repaint Microsoft's Panels     
Total Hits: 25  |  Today: 0Author: sjingyu      Rating:  
Read Reviews | Write Review |  Your Rating: 

O(∩_∩)O~,there has been a bunch of articles about how to customize(repaint) a TabControl By Adding Icons to it ,or Changing colors of it. I appreciate these authors cause I got many useful Ideas of how to deal with such problems from them . But after tried to repaint the Microsoft's TabControl for about 2 days, I finally found that it is too hard to paint out what I really want . Such as I need more interface to change the Control's color , selectcards' size and so on. And th...

Using LINQ to Calculate Basic Statistics     
Total Hits: 20  |  Today: 0Author: Don Kackman      Rating:  
Read Reviews | Write Review |  Your Rating: 

While working on another project, I found myself needing to calculate basic statistics on various set of data of various underlying types. LINQ has Count, Min, Max and Average but no other statistical aggregates. As I always do in a case like this, I started with Google figuring someone else must have written some handy extension methods for this already. There are plenty of statistical and numerical processing packages out there but what I want is a simple and lightweight implementation for the...

An Introduction to LINQ to XML     
Total Hits: 40  |  Today: 0Author: Abhishek6246      Rating:  
Read Reviews | Write Review |  Your Rating: 

XML is widely used for storing and formatting data. By using the current APIs, it is slightly cumbersome to handle and play with XML data.

LINQ to XML (.NET 3.5) makes handling XML easier through query experience similar to SQL....

Using a custom VirtualPathProvider can cause OutOfMemoryExceptions     
Total Hits: 47  |  Today: 0Author: Nathanael Jones      Rating:  
Read Reviews | Write Review |  Your Rating: 

Virtual path providers are awesome - you can serve a site from a .zip file, perform XSLT transformations to generate .aspx files as the compiler reads them, and do all sorts of unusual things. However, using them can make the StaticFileHandler buffer entire downloads in memory before sending the data to the client. (StaticFileHandler is used instead of an IIS callback (ExecuteUrl) if HTTP headers or cache policy has been modified during the pipeline)....

Total Hits: 147  |  Today: 0Author: mbanavige      Rating:  
Read Reviews | Write Review |  Your Rating: 

The FtpWebRequest class enables you to programatically create FTP connections to FTP Servers and transfer files. If you are interested in using the FtpWebRequest class to upload files to a server,...

DNS.NET Resolver (C#)     
Total Hits: 21  |  Today: 0Author: alphons      Rating:  
Read Reviews | Write Review |  Your Rating: 

One of the things I needed to complete my self-written spamstopper, which acts like an SMTP proxy, is resolving DNS queries, reading SPF1 records, doing reversed lookups etc. On the .NET (2.0) framework there is a simple implementation of a DNS component. But it was far from complete. The other project on DNS resolving on CodeProject, C# .NET DNS query component, By Rob Philpott is old, buggy, incomplete and not supported anymore. It was time to take the official RFC's on DNS and building the ap...

Disclaimer - Privacy
© 2002-2017