C# Corner

Resources  
  • 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..
  • 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.
  • 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.
  • Complex Numbers ClassMar 20, 2001. This small example demonstrates using some of the interesting language elements of the C# language.
  • Operator Overloading ExampleMay 14, 2001. The code uses the feature of Operator Overloading in C#. It shows how different operators are overloaded and can be used in a easy manner.
  • FTP Explorer in C#May 21, 2001. I have developed a GUI based FTP client application. This takes connection information and populates folder and files in treeview and listview respectively.
  • Super String in C#Aug 20, 2001. Today I realized that I miss those Visual Basic/Visual C++ type operators. You know the ones: Left, Mid, Right.
  • Validation Controls in Web Forms: Part IAug 24, 2001. Validation is one of the less talked about areas – often taken for granted.
  • Validation Controls in Web Forms: Part 2Aug 24, 2001. Validation is one of the less talked about areas – often taken for granted.
  • Operator Overloading in C#Sep 10, 2001. The Source code below shows how to use Operator Overloading in C#. Operator Overloading is pretty useful concept derived from C++ by C#.
  • Socket ProgrammingOct 01, 2001. This is a simple Client/Server program showing the communication taking place between the client and the server.
  • Docking Control in C#Oct 16, 2001. One of the first features of C# that took my interest was the ability to Dock a Control onto the edge of a Form.
  • Operator Overloading in C#Dec 03, 2001. All unary and binary operators have pre-defined implementations, that are automatically available in any expressions. In addition to this pre-defined implementations, user defined implementations can also be introduced in C#.
  • FTP Explorer in C#(Beta 2)Jan 10, 2002. FTP Explorer is a MDI application that can explore FTP server. This application takes FTP connection information and populates folder and files in treeview and listview respectively.
  • FTP Explorer in C#: Beta 2Jan 10, 2002. FTP Explorer is a MDI application that can explore FTP server. This application takes FTP connection information and populates folder and files in treeview and listview respectively.
  • Real-time Message Logging Utility - Part 1Apr 01, 2002. A message logger is a utility that helps in logging the messages thrown from functions/programs. It is useful in critical applications as it helps to know the time taken by a function to execute, the time that the function remained idle and any messages that the function wants to be logged for further analysis.
  • .NET Math Expression ParserApr 22, 2002. This is a math expression parser written in C#, which evaluates mathematical expressions.
  • Comparison of C# with Java: A Developer PerspectiveMay 29, 2002. The .NET is a language and operating system (on Windows as of now) independent platform pretty similar to Java.
  • ADO.NET From Windows DNA's PerspectiveJun 12, 2002. Windows DNA is a framework to build multi-tier, high performance, scalable distributed applications over the network. This article takes a Windows DNA perspective and compares how ADO.NET fits in Windows DNA.
  • GalleryDotNetJan 02, 2003. This is a simple C# console application (source included) that takes a directory of images and creates a html gallery out of them.
  • Automating the Process of Getting Latest Files from VSSJan 22, 2003. In this article, I will show you how to write an automated process of taking VSS backup. Initially, this application was written with some hard coded settings such as user name, password. and VSS path.
  • Using Genetic Algorithms to Design Logic Circuits in C#Feb 05, 2003. The article goes to explain that GA (Genetic Algorithms) have been used by various programmers to come up with 15 previous patented inventions + (and here is the startling part) some new ones! I can see the running joke in the patent office now.
  • Simulating a Swarm Algorithm in C# Apr 07, 2003. Rather than reinvent the wheel, I took this code and translated it into C# to demonstrate the swarm behavior in a Windows Form using GDI+. The algorithm is exactly the same and also a fairly simple one.
  • 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.
  • Oracle Connectivity in .NETDec 03, 2003. This whitepaper takes you through different ways of database connectivity to Oracle database from .NET. This also talks about the advantages and disadvantages of all of these technologies.
  • 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.
  • Language Extensions in C# 2.0Apr 21, 2005. This article intends to the C# 1.x developers and covers what-why-how the new enhancement .The philosophy behind the document is to have quick update on C# 2.0 and leverage this in your day to day development work.
  • Manage and Administer ASP.NET Web Sites in Visual Studio 2005Nov 16, 2005. ASP.NET Configuration Wizard is a new feature available in Visual Studio 2005, which takes care ASP.NET Web Application configuration and deployment problems and allows developers to set Web application settings using a visual interface.
  • Credit Card Fraud Prevention using .NET Framework in C# or VB.NETJan 16, 2006. How can you protect your business from credit card frauds? This article have few steps that can be taken to ensure that the transaction is being requested by the real cardholder.
  • How to use Login Control in Visual Studio 2005Jan 31, 2006. In the recent version of Visual Studio 2005, Microsoft has taken care of a very common functionality of the web applications. In the following article we will see that how to use login control using C#.Net.
  • Writing C# 2.0 Unsafe CodeFeb 23, 2006. We will see that C# allows suspending the verification of code by the CLR to allow developers to directly access memory using pointers.
  • AndAlso & OrElse Operators in C#Mar 13, 2006. Hi all, in a very short note I am trying to explain some interesting logical operators in C# and their VB.NET counter part. You must ware of the differences between these operators for a better usage of them.
  • Using LINQ in Visual Studio 2005Jul 03, 2006. LINQ (.Net Language Integrated Query) is the general-purpose standard query operators that allow traversal, filter and projection operations to be expressed in a direct yet declarative way in any .Net programming language.
  • ASP.Net 2.0 - Dynamic Fragments in Cached Web PagesAug 29, 2006. In this article we will explore various techniques for including dynamic fragments within cached web pages. This feature is described as Post Cache Substitution and provides a personalized experience for the end user, while taking advantage of the benefits of Caching.
  • PDF Search in SharePointSep 11, 2006. This is a small article that tells users about the PDF search in SharePoint. I have not included the exact steps that need to be taken because that has already been published before on many sites including Microsoft's. My objective is tell users where to start looking for resources if they want to search PDF documents in SharePoint.
  • Leveraging The .NET Framework Inside An MFC ApplicationDec 21, 2006. This article describes the first steps in taking an existing umanaged MFC Application and integrating the .NET Framework into it. It will also demonstrate to you how to bring up a Windows Form inside your MFC App.
  • Introduction of ASP.NET AJAX Toolkit - CollapsiblePanelJan 17, 2007. The ASP.NET AJAX Toolkit is a new and powerful control in ASP.NET 2.0. It is designed for you to develop web applications that are more responsive, faster, and put fewer loads on the network, and in particular took .NET-based Ajax framework. This article will use one of ASP.NET AJAX Toolkit’s controls – CollapsiblePanel to demonstrate the benefit by using it.
  • Multi-threaded Asynchronous Programming in C#... Getting started.May 12, 2007. Trying to build better solutions and growing as a developer has always been fun for me and I’m always looking for ways to build more scalability and robustness in the software I am writing. I had a revelation that I’ve been doing a lot of C# tweaking but not taking advantage of the core performance enhancements cooked right into C# and it all comes down to one thing: Asynchronous multi-threaded programming.
  • Writing Better Code -- Keepin' it CohesiveFeb 15, 2008. One of the aspects of code quality we can look at is cohesion. If code is highly cohesive it is also much more testable, reusable, readable and maintainable (all the good things in life). Likewise, if code has a low level of cohesion it is often very hard to understand at a glance and difficult to test and maintain. In this article we'll take a look at a concrete example of code that does not follow the Single Responsibility Principle and as a result has low cohesion and walk through the refactoring it takes to modify the code to be more highly cohesive.
  • F# Types and the Forward Pipe OperatorMar 22, 2008. Looking at F# Types (Especially Functions) and the Forward-Pipe Operator.
  • How to Use the EXCEPT and INTERSECT Operators in SQL Server 2005Sep 28, 2008. This sample shows how to use EXCEPT and INTERSECT operators in SQL Server 2005.
  • Dealing with controls within a multi threaded contextMar 19, 2009. In this article I will provide a technique of how to avoid invalid cross threaded operation and I have taken an example of dealing with controls within a multithreaded context to demonsrate how to avoid such trouble
  • Parsing Markup to represent it as ObjectsApr 01, 2009. Here I place a project I made that takes any markup and turn it in form of a MarkupDocument with elements and attributes, content etc.
  • Type Conversions in C#Jun 04, 2009. In this article I will explain about one of the main topics in C# - Data Types. You will also learn about the value and reference types, type conversions and other features related to data types.
  • How to use Login Control in Visual Studio 2008 Oct 15, 2009. In the recent version of Visual Studio 2008, Microsoft has taken care of a very common functionality of the web applications. In the following article we will see that how to use login control using C#.Net.
  • Wildcards in SQL Server 2005Oct 27, 2009. SQL wildcards are used for searching data’s in a database, which were used with LIKE operator.
  • Measure Execution Time of Code in C#Nov 03, 2009. This article demonstrates how you can find out how much time your code is taking in execution using C#.
  • Expressions and Operators in C#Nov 19, 2009. In this article I will explain you about expression and operator.
  • Overloading in C#Dec 01, 2009. In this article I will explain you about overloading in C#.
  • Taking Command in ADO.NETJan 07, 2010. In this article I will explain Taking Command in ADO.NET.
  • Genetic CloudJan 24, 2010. Complex optimization tasks, like travelling salesman problem, can be solved by simple algorithms with random searching component. Genetic algorithm is one of such approaches. It gives better solution on the big population sizes, but the execution time grows non-linear with population size growth. Another way to increase accuracy is to have several parallel runs. The additional resources for parallel runs could be taken in a Cloud.
  • SQL Query Optimization FAQ Part 1 (With video explanation)Feb 02, 2010. In this article we will first try to understand what is a SQL plan, how is it created and then we will move towards understanding how to read the SQL plan. As we read the SQL plan we will try to understand different operators like table scan, index seek scan, clustered scan, RID lookup etc. We will also look in to the best practices associated with clustered and non-clustered indexes and how they function internally. We will practically see how indexed views increase performance and in what scenarios we should use the same.
  • As Operator in C#Feb 24, 2010. The As operator in C# is used to convert from one type to another. You can use casting to cast one type to another but if you apply casting on incompatible types, you will get an exception.
  • Is Operator in C#Feb 24, 2010. The Is operator in C# is used to check if a type of an object is compatible with the other type. If type is not compatible, you will also see C# compiler will through an error in Visual Studio IDE.
  • ASP.NET application and page life cycle Apr 19, 2010. In this article we will try to understand what are the different events which takes place right from the time the user sends a request, until the time request is rendered on the browser.
  • Linq to SQL Performance Considerations: Part IIApr 29, 2010. This article takes a look at what it takes to convert Linq queries to compiled queries and what performance gains can be obtained.
  • Select and SelectMany: LINQ projection operatorAug 16, 2010. Projection transforms the query result into the form defined by the developer. There are two projection operators in LINQ
  • Exception Handling in Visual COBOL.NETAug 16, 2010. Let's start by taking a look at a simple and pretty standard COBOL way of handling exceptions. We’ll then see how that same example would be coding in a managed environment utilizing Visual COBOL.NET.
  • Content database migration in SharepointAug 17, 2010. Here I am showing you another easy way of taking sharepoint backup/restore. I am using SQL server DB backup method.
  • LINQ Operators and Lambda Expression - Syntax & ExamplesSep 08, 2010. LINQ is a cool feature in C# 3.0. Most of the developers are struggling for the syntax and examples. Here I have collected various examples for each operator in LINQ and the equivalent Lambda Expressions.
  • Different Kind of Operator OverloadingOct 24, 2010. In this article we will learn how to use Different Kinds of Operator Overloading.
  • Hosting WCF Service inside IISNov 12, 2010. Windows Communication Foundation(WCF) takes many existing communication technologies, such as Web Services, Windows Remoting, Microsoft Message Queuing, and abstracts them into a single technology. In most cases, this simplifies the way you communicate with other applications.
  • Navigation in Silverlight Without Using Navigation Framework Jan 07, 2011. Silverlight 3 introduces Navigation Framework which takes care of this, but let's first try to achieve navigation and state management without this framework; or you can say, the way it is done in Silverlight 2.
  • Linq Aggregate OperatorsJan 15, 2011. LINQ provides many operators that support making various types of queries with any type of object.
  • Windows Mobile Utility on the Move, (Works For Indian Region only)Mar 01, 2011. This application can be used by any user to search the STD Code, Mobile operators circle easily throughout India. It's a very handy application which runs on Windows Mobile 6.1 & 6.5 professional devices.
  • String Concatenation and Scope Resolution Operator in SQL Server 2008 R2Mar 03, 2011. Here you will learn String Concatenation and Scope Resolution Operator in SQL Server 2008 R2.
  • Type casting with is and as operator in C#Mar 21, 2011. Many developers are casting using the "is" operator. We also have the "as" operator for type casting.
  • WPF-Validations On All Database OperationsApr 27, 2011. This article shows how to use validation whenever a user enters data. By using validation you will stop entering the wrong data into the database and avoid exceptions.
  • Add X-Power to Your XML Development with Liquid XML Studio 2011May 16, 2011. Today, more and more applications are migrating to the Web and the Cloud services are taking over the world; XML has become one of the key and vital parts of the data exchange mechanism. Whether you are developing client centric applications or building a consumer product, you will end up working with XML.
  • Select Query With Logical Operator in a Mongo Database Using C# DriverMay 23, 2011. In this article I will describe how to do a select query in a Mongo database using C# driver.
  • Fetching Mobile Operator Name in Windows 7.1 Phone [Mango]Jun 10, 2011. Here you will see how to fetch the mobile operator's name in Windows 7.1 Phone.
  • Passing Table Valued Parameter to Stored Procedure: Part 1Jun 16, 2011. In this demonstration I am taking simple scenario, where I will to pass customers information to stored proc and insert customer rows into database.
  • SQL SERVER 2005 : Using Special Characters (Wild Characters) in LIKE And NOT LIKE OperatorJun 24, 2011. Special Characters are used for finding a specific character string using the LIKE operator in SQL SERVER.
  • Calling Web Method Which Takes Object as an Input Parameter Using AJAX & JavaScriptJun 28, 2011. Here you will see how to call a Web Method which takes an object as an input parameter Using AJAX, The object is created using JavaScript and passed as an input parameter.
  • Windows Phone SDK 7.1 Beta 2 Released: Installation StepsJul 01, 2011. The content of this article is taken as-is from the release notes of Windows Phone SDK 7.1.
  • The Is and As Operators in C#Jul 05, 2011. In this quick article you will take a look at the "is" and "as" operators in C#.
  • Types of Operators in F#Jul 15, 2011. This article demonstrates operators; Infix operators, Prefix operators and types of operators. Have a quick review for learning operators.
  • Using Temp Table in SQL Server And Adding Columns DynamicallyJul 16, 2011. In this article we'll see how to use the Temporary tables, what are the necessary step to be taken while using them and moreover sometimes it's required to add column in Temporary tables dynamically.
  • Concept of Sequence in F#Jul 20, 2011. This article is a demonstration regarding Sequence, Sequence comprehension, Range expression and Sequence Module aggregate operators. It also contains lazy evaluation of Sequence elements. Have a quick review to learn.
  • Silverlight Child Window - Passing Data Between Child And ParentAug 06, 2011. In this article we are going to see the Child window control in Silverlight. This example is taken from Silverlight 4 unleashed and implemented.
  • How to Draw Circle Shape by MouseCapture Event in WPF Using F#Aug 11, 2011. This article is a demonstration regrading how you can draw shapes by MouseCapture Event. As I have taken an example of circle and also can move that shape from one place to another. Take a quick review to learn.
  • Connect InfoPath form to web service and deploy it to SharePointAug 23, 2011. In this article I am describing about the Taking Advantage of XML Form Web Part in SharePoint and office InfoPath form which is an XML form Builder. This article will give the steps and configuration to be followed to access a web service in InfoPath 2007.
  • How to deploy InfoPath form in SharePoint as browser enabled FormAug 24, 2011. In this article I am describing about how Taking Advantage of XML Form Web Part in SharePoint and office InfoPath form which is an XML form Builder. This is the second part of my article named Connect InfoPath form to web service and deploy it to SharePoint
  • SharePoint Developer Tools in Visual Studio 11Sep 21, 2011. This article takes an introductory look at the new facilities announced for SharePoint development in the upcoming version of Visual Studio.
  • Easy Rounded Corners using CSS3Oct 28, 2011. This article takes a look at the css3 border-radius property which allows developers to easily create rounded corners in their web pages.
  • Paging and Sorting in ASP.Net GridViewOct 31, 2011. The GridView control provides you with an easy way to display the number of items on a page without taking much space, with the help of paging. You can enable the paging feature in the GridView control in seconds. The built-in paging is pretty good if you are fetching less than 100 items.
  • Opening Webpages in Frame Control using Expression BlendNov 08, 2011. In this article you will learn how a simple frame can act as browser to display the complete webpage and this input is taken from combo box item, while a label displays the web address.
  • Variables & Operators in MySQLNov 30, 2011. In this article we will learn how variables & operators are used in MySQL.
  • Working with Union in MySQLDec 09, 2011. This article describes the functionality of the union operator in MySQL.
  • MySQL Operators And Comparison FunctionsJan 12, 2012. Here we will show how to work with the Operators and Comparison Functions in MySQL
  • Camera Capture Task in Windows Phone 7 via WCF Service Messaging Feb 04, 2012. In this article let’s learn one better concept in windows phone which communicates with WCF Service to retrieve some friendly message to user. Once this application is fully developed and deployed it enables to take photo using application with inbuilt camera. Later, can able to view the taken photo images.
  • Operators in PHPFeb 13, 2012. In this article you will see the types of operators available and how to use them in PHP.
  • Simple Style Switcher Using JQuery and CSS: Part 2Feb 23, 2012. This article shows how to create a simple style switcher using jQuery and CSS by taking the advantage of jQuery’s toggleClass() and hover().
  • SQL Limit in PHPMar 05, 2012. In this article you will see, how to execute a LIMIT operator of mysql in PHP. 
  • Concept of Join in SQL ServerMar 13, 2012. In this article we are show different types of joins in SQL Server. A Join in SQL is used to combine two or more tables. We use the Join operator to gather the data in a single query.
  • How to use Operator Overloading in C#Jun 02, 2012. In this article, we will discuss about the operator overloading in C#. It means that we are defining the operator for a class.
  • How to Create WCF Data Service With $JSONP FormatJun 03, 2012. In this post we will create WCF Data Service takes $JSONP in query and returns JSON data as response.
  • LINQ in Windows Store AppJun 25, 2012. In this article we are going to implement LINQ in Windows Store application and taking List of Books class as a data source.
  • Compound Operators in SQL Server 2008Jul 25, 2012. In this article you will learn some basics about Compound Operators of SQL Server 2008.
  • Overload Operator Using C#Aug 16, 2012. In this article we will try to understand how to overload operator == for our convenience.

About Take-operator

NA
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!
VSLive! Anaheim