No new comments.
View All Comments
No new messages.
View All Messages
No new notifications.
View All Notifications
Request a new Category
No tag found
Refine by Author
John Charles Olamendy(8)
G Gnana Arun Ganesh(6)
Dhananjay Kumar (1)
No resource found
Tutorial: Creating C# Class Library (DLL) Using Visual Studio .NET
Dec 09, 2000.
This step-by-step tutorial shows you how to create a class library (DLL) in Visual Studio .NET.
Boxing and Unboxing
Feb 21, 2001.
Boxing and Unboxing are fairly new terms introduced in C#. Author explains some concept of them.
Web Request Class
Apr 04, 2001.
This is a simple application that the gets the source of a webpage via the WebRequest Object.
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.
Boxing and Unboxing in C#
Aug 20, 2001.
Boxing and unboxing is a essential concept in C#'s type system. With Boxing and unboxing one can link between value-types and reference-types by allowing any value of a value-type to be converted to and from type object.
Passing Const Parameter to Functions in C#/C++/VB Compared
Aug 30, 2001.
Parameter passing to a function is extremely important in all programming languages. The desire to keep the passed parameter intact forced the compiler designers to add various keywords to the programming languages.
Is there any need to Boxing and Unboxing
Sep 21, 2001.
With Boxing and unboxing one can link between value-types and reference-types by allowing any value of a value-type to be converted to and from type object. Boxing and unboxing enables a unified view of the type system wherein a value of any type can ultimately be treated as an object.
Method Parameters in C#
Oct 15, 2001.
This article describes different method parameters such as value parameters, reference parameters, output parameters, and parameter arrays.
TextReader and TextWriter in C#
Oct 16, 2001.
This article covers the information of how to read or write (Unicode) character based data through TextReader and TextWriter.
Email Notifier with Microsoft Agent--- GENIE
Nov 16, 2001.
Email notifier with Microsoft Agent is a TCP/IP application that notifies the user if there is email in the user's email server.
How To Open and Read an Excel Spreadsheet into a ListView in .NET
Nov 26, 2001.
The Interoperability services make it very easy to work with COM Capable Applications such as Word and Excel.
Type Conversions in c#
Dec 04, 2001.
Type conversion is a process of converting one type into another. Using C# type conversion techniques, not only you can convert data types, you can also convert object types.
Using ADO RecordSet in ADO.NET
Dec 10, 2001.
Using ADO recordset in managed code using ADO.NET data providers is pretty simple. Visual studio .NET provides you to add reference to the COM libraries. In this article I'll show you how to access data using ADO recordset and fill a ADO.NET data provider from the recordset data.
Working With Data Types
Jan 02, 2002.
Explains data types in C# and how to work with them.
Using MS Agent in C# - Part-III
Jan 09, 2002.
In this article, I will show you how to write a program which lists all the animations of the loaded characters which speak to us using synthesized speech, recorded audio, or text in a cartoon word balloon.
Authenticate Web Service Client - An ASP.NET Web Application
Mar 04, 2002.
This client application shows you how to access Authenticate Web service from an ASP.NET Web application.
Creating and Opening Microsoft Word Document from .NET Using C#
Mar 08, 2002.
This article is being written in response to a couple inquiries on the question, "How do I open a word document from .NET?".
Boxing and Performance of Collections
Mar 14, 2002.
In this article, I will compare some performance issues of values and references types during boxing and unboxing operations.
Macro to Update References of all Projects in a Solution
Jul 24, 2002.
When working in enterprise development there are occasions when you have a solution file with 10 or more projects in it all using private assemblies.
Macro to Add Strong Names to VS.NET Projects
Aug 06, 2002.
When writing class libraries in Visual Studio .NET that are going to be placed into the GAC you will need to add strong name to the assembly. This is normally done by dropping out to a dos prompt and running the .NET utility sn.exe and then updating the assembly to reference the newly created .snk file.
Understanding Generic Type in C#
Aug 15, 2002.
Before we start tampering around the code, lets understand why we need a generic type?
Static Constructor in C# and their Usages.
Sep 09, 2002.
Static constructor is used to initialize static data members as soon as the class is referenced first time, whereas an instance constructor is used to create an instance of that class with <new> keyword.
Eater Game II - The Stone Maze
Oct 02, 2002.
This program combines the designs of the Eater Game and the Maze Generation Program to create a more challenging game, Eater Game II. In this game, you move a pacman-like character through a maze and eat as many stones as you can before time runs out. You have a minute and a half to try to eat stones before the pac-man simply freezes-up and accepts his quota of stones.
Global Assembly Cache(GAC) Hell
Jan 03, 2003.
After having worked on a project involving heavy use of the Global Assembly Cache, I would like to tell you that using the GAC can be very frustrating. We had a solution which had several projects within the solution. Many of these projects referenced 1 project (utility project) which did a lot of the work which we could reuse.
Run Time Compiler
Feb 07, 2003.
In this article, I am going to discuss how to take a string then compile it and then how you execute it.
C# Methods : Part II
Jul 07, 2003.
This article completes our discussion of methods. In this article, you will learn parameter passing, reference and value type parameters, and method overloading.
Late Binding With Reflection
Oct 20, 2003.
Component based technology has done great things for software development, allowing reuse and leading to better-written code that separates subjects and entities into distinct components.
Automatically Break into Code When Calling Debug.Assert
Dec 22, 2003.
This sample creates a dll that once referenced by your ASP.Net or Web Service app, just adding a small block of xml into your web.config file will cause the debugger to automatically break into your code.
Generic Web Service Proxy
Feb 04, 2004.
In this article I will explain how you can consume a web service without using the standard "Add Web Reference" in Visual Studio and how to do this without using SOAP.
DropDownList Selection as you type in
Feb 09, 2004.
The ASP.NET DropDownList server control allows positioning within the list by typing the first character. This method does not require a trip to the server.
Difference between passing reference types by ref and by value
Sep 02, 2004.
We all know the difference between passing value types byval and byref, if the variable is passed byval any change to the variable value in the called function is not reflected back in the callee.
Coloring the Console in C#
Oct 25, 2004.
When working with console applications in C#, you always see a black and white screen. What if we want to change the background color of the console? We can change the foreground and background color of our console application by using win32 API SetConsoleTextAttribute().
Talk to SharePoint through its web services
Dec 09, 2004.
Microsoft Office 2003 is very tightly integrated with SharePoint by utilizing its web services. Windows SharePoint Services comes with sixteen different web services. SharePoint Portal Server 2003 supports an additional five web services. The web services provided by SharePoint do provide a vast array of features.
Will swap work if C# Manipulates Objects by Reference?
Feb 15, 2005.
C# does manipulate objects by reference, and all object variables are references. On the other hand, C# does not pass method arguments by reference; it passes them by value. Thus, a regular swap method will not work!
Understanding Delegates in C#
Sep 15, 2005.
Delegate is type which holds the method(s) reference in an object. It is also reffered as a type safe function pointers.
Delegates and Events in C#
Oct 05, 2005.
A delegate in C# is similar to a function pointer in C or C++. Using a delegate allows the programmer to encapsulate a reference to a method inside a delegate object.
Learning Delegates in C#, an Introduction
Jan 03, 2006.
There is this thing in C# called a delegate, which is going to be crucial to build interactions between our objects. What’s a delegate, you ask? Good question. A delegate is a pointer to a method. What’s that mean? Just like you can pass variable by reference, you can pass a reference to a method. Let me give you an example.
Types of Variables
Jan 14, 2006.
In this article we'll cover the behaviors of variables to Reference Types.
C# Heap(ing) Vs Stack(ing) in .NET: Part I
Jan 14, 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.
C# Heap(ing) Vs Stack(ing) in .NET: Part III
Jan 15, 2006.
Having a basic understanding of how memory management works will help explain the behavior of the variables we work with in every program we write. In this article we’ll cover an issue that arises from having reference variables in the heap and how to fix it using ICloneable.
C# Heap(ing) Vs Stack(ing) in .NET: Part II
Jan 15, 2006.
Having a basic understanding of how memory management works will help explain the behavior of the variables we work with in every program we write. In this article I'll cover some of the behaviors we need to be aware of when passing parameters to methods.
C# 2.0 Nullable Types
Feb 14, 2006.
The designers of C#2 have added the concept of nullable types to deal with a weakness of value types versus reference types. It is then essential to have properly assimilated these two notions.
Counting Words in C#
Feb 14, 2006.
This article shows a function that returns number of words rather than number of characters.
The C# Value Type and Boxing
Feb 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.
Internationalization Getting Started
Mar 09, 2006.
This article introduces the concept of Internationalization in application development. Starting off with the basics of character encoding and Unicode, the article discusses the best practices to be followed in writing culture aware code and designing Internationalized user interfaces with adequate examples in .NET (C#).
Enhancements in Assemblies and Versioning in Visual Studio 2005
May 01, 2006.
The article discusses a couple of features introduced for assembly and versioning in Visual Studio 2005 such as referencing assemblies, registering assemblies to GAC, digital signing and friend assemblies.
Building applications with DLinq Designer
Jul 01, 2006.
DLinq designer is the visual design surface to create the entity objects and bound the controls to the dlinq objects with relationships. We can easily create the windows form using the designer. The developer need not take more time to design the User Interface. The designer itself suggests you the controls suitable for the selected fields.
Use of Proxy when using WebSerices
Aug 10, 2006.
The article shows the advantages of using Proxy layer to add Web Services compared to using the "Add Web Reference" wizard.
Working of Reference Type and Value Type
Sep 18, 2006.
This article shows you all the difference between reference and value type variables.
How to Convert String to Hexadecimal and Vice versa
Oct 31, 2006.
This article shows you how to convert string to hexadecimal and vice versa. I did this program for my smart Card application.
C# Friendly Assemblies: Looking at Building Truly Reusable Components
Nov 01, 2006.
This article discusses how we can hide our base class implementation and require referencing of our objects through their interfaces. This keeps our own projects loosely coupled and also allows us to publish our assemblies as truly reusable components because they are 100% “Black box”.
Restricting User Input
Dec 28, 2006.
This article describes an approach to restricting the user’s input to letters only, numbers only, letters or numbers only, and special characters only. The approach is simple to implement and can be used whenever it is necessary to restrict a user’s response to instances where it is necessary to capture information from the user into a form’s text box control.
Jan 24, 2007.
Simple DataAccess in DataGrid Identifying Reference Concepts.
Error handler for web applications
May 15, 2007.
In this article I will describe the error handler for ASP.NET 2.0 applications, that is developed in a separate class library project . You can use it in any web application you want by adding a reference to the compiled dll assembly without writing many lines of code. The examples are written using C#.
Boxing and Unboxing
Jun 12, 2007.
Details about the value type, reference type and details about the boxing and unboxing in C#.
C# Generic Identity Map -- Creating an Object Pool for Multiple Object Types
Jan 27, 2008.
This article demonstrates a technique through which we can have a type-safe pool object that holds references to many different types of objects.
Dynamic Building and Execution of Assembly Using CodeDome & Reflection
Feb 01, 2008.
This article shows how to enter code, compile it , execute it and apart from that access code and data member from the main or other referenced assembly during runtime.
Chapter 1: Hello LINQ
Feb 06, 2008.
This is an exert from Joseph C. Rattz, Jr.'s book Pro LINQ. Here you learn how to use Linq in your application and also depicts the benefits of using Linq.
Parsing Sentences and Building Text Statics in C#
Feb 15, 2008.
This article describes three approaches for parsing the sentences from a body of text. This demonstration application also describes an approach to generating sentence count, word count, and character count statistics on a body of text.
How to Generate an XML Document Programmatically-Using System.Xml.XmlWriter: Part III
Jun 26, 2008.
In previous articles, I demonstrate how to generate a given xml file using both the DOM “Document Object Model” and the SAX “Serial Access parser for Xml” technologies. In fact, they are very interesting API for handling xml entities or files but the dot net provides us another way to achieve the same goal.
Cascading Deletes in LINQ to SQL
Jul 03, 2008.
This article will discuss alternative methods for performing cascading deletes using LINQ to SQL. Cascading delete refers to the action of removing records associated by a foreign key relationship to a record that is the target of a deletion action.
Silverlight 2 use ADO.NET Data Services to access data
Jul 19, 2008.
In this article will show how to perform CRUD (Create, Retrieve, Update, Delete) operations in Silverlight 2 using ADO.NET Data Services.
Generic Data Access using LINQ to SQL and C#
Jul 22, 2008.
This article discusses the construction of a generic data access layer built on top of a LINQ to SQL implementation.
SQL Server Stored procedures and UDF within LINQ context-PartII
Sep 03, 2008.
In the first article, SQL Server Stored procedures and UDF within LINQ context-Part I, I exposed 2 scenarios of how to deal with stored procedures using LINQ, in this second part, I will accomplish the task by demonstrating how to call a user defined function UDF using the same way adopted in the first part.
Getting started with ADO.NET Entity Framework in .NET 3.5
Sep 30, 2008.
This article contains a very simple ADO.NET Entity Framework application to display and add the data to the database using ADO Entity Framework.
Getting started with ADO.NET Entity Framework in .NET 3.5 - Part II
Oct 06, 2008.
This article contains a very simple ADO.NET Entity Framework application to update and delete the data to the database using ADO Entity Framework.
Getting started with ADO.NET Entity Framework in .NET 3.5 - Part III
Oct 13, 2008.
This article show us how to do conditional query and paging in ADO.NET Entity Framework.
Passing Values between forms in Silverlight
Nov 20, 2008.
Here in this article, I am going to show how to navigate between pages in an application and to pass values between them.
Distributed Database Management Systems
Dec 17, 2008.
I’m going to illustrate the principles of Distributed Database Management Systems through this article.
Customizing GridView Control For Data Modifications
Jan 28, 2009.
This article is intended to illustrate how to customize GridView controls for data modification.
Facilitate Use of Special Characters in a C# Text Editor Application
Feb 05, 2009.
This article describes a simple approach to implementing special character use in a C# based text editor.
Feb 06, 2009.
In this article, I will cover one important component of Microsoft BizTalk Server, the orchestrations. Basically an orchestration is the executable code to run a workflow supporting a business process. Orchestration interacts with outside entities by using the ports. All these things together are a powerful tool to perform process automation.
Introduction to Dynamic Data Web Application Model: Part VI
Feb 18, 2009.
This article explains about interfacing Stored Procedures and Dynamic Data Entities Web Application template.
Creating Excel/Word/HTML Document Using C#
Feb 24, 2009.
This article describes a simple approach to create Excel/Word/HTML document using C#, ADO.Net dataset without using interop/excel assemblies reference.
Consuming Web Services Without Web Reference in BizTalk
May 02, 2009.
This articles tells us how to consume Web Services without web reference in BizTalk.
Setting Null Value in an Optional Non-identifying Relationship Using ComboxBox
May 06, 2009.
The most common relationship in any data model is the one-to-many non-identifying relationship. Non-identifying relationship implies weak dependency relationship between parent and child entities. There are two kinds of non-identifying relationships, including optional and mandatory. The necessity of the parent entity is "exactly one" and "zero or one" in the mandatory and optional non-identifying relationship respectively. One problem I’ve tackled in many of my enterprise application is the presentation of complex data relationship such as optional non-identifying relationship using data binding techniques in Windows Forms applications. In this article, I will illustrate how to face this problem.
Setting Null Value to an Entity Property Through Textbox Control
May 12, 2009.
In this article, I want to document a bug in Visual Studio. NET concerning to setting a null value to entity property’s through a Textbox control. There is a common scenario to have an entity type in your data model where some attributes are optional. When you develop a rich client application using the Windows forms, data binding techniques and a Textbox to enter the simple data, and you want to set null the optional attributes of the underlying data source by leaving in blank the Text property of the Textbox control; then there is a missing feature for the Formatting and Advanced Binding dialog box for null values. They should have a checkbox there to allow people to use blank as null. In this article, I will show one simple solution to this bug.
Implementing business rules using customized DataSet objects
May 15, 2009.
Information systems contain and enforce rules about the business they support. A rule is constraint which describes the way how objects are to behave. Field-level validations are checks that pertain to the property values of the underlying business entities. For example, a field must be 50 characters or less in length or some fields are required while other fields are optional as well as some fields must be greater than a specific value.
May 22, 2009.
This library contain four custom controls each control has the validations for required and character type
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.
An Introduction to LINQ
Jun 06, 2009.
LINQ stands for Language INtegrated Query. Means query language integrated with Microsoft .NET supporting languages i.e. C#.NET, VB.NET, J#.NET etc. Need not to write\ use explicit Data Access Layer.
MVC Declarative Binding
Jun 08, 2009.
One of the things that makes the bar to implement any “MVC-ish” pattern high is the tremendous amount of plumbing required just to get started in order for the different entities to communicate state changes. This article introduces a utility library that can be used to declaratively bind the model and view encapsulating all the wiring required and making implementation much easier.
How to Check if there is any Alphabet or Non Alphanumeric Character in a String
Jun 23, 2009.
This article gives you an idea about how to check if there is any alphabet or non alphanumeric character in a sttring just with the help of one metthod using regular expressions in C#.
CRUD operations using LINQ Entities
Jul 12, 2009.
This is a pretty simple tutorial dedicated to LINQ newbie’s who want to learn how to do CRUD operations using LINQ entities. I am sure many experienced LINQ players would criticize me for such a mild article.
Using WCF with ADO.Net Entity Model to Expose CRUD Operation as a SOAP Enabled Service
Jul 19, 2009.
I have seen on web many people talking about, how to deal with DTO classes and business class in WCF. And those entire topics persuaded me to write this article.
Calling External Assemblies From Orchestrations
Aug 07, 2009.
In this article, I will cover how to call business logic contained in external assemblies from orchestration in order to reuse this component's logic. For the solution, I will create a library with a component which implements the string concatenation logic. Then this assembly will be referenced from an orchestration and the underlying method will be invoked.
Programming Microsoft Agent in Windows Forms
Aug 23, 2009.
In this article you will learn how to embed characters like Office Assistant in your Windows Forms and XAML application.
Building ASP.NET MVC Web Applications using ADO.NET Entity Data Model
Oct 09, 2009.
This is a step by step tutorial on how to build ASP.NET MVC Web Applications using ADO.NET Entity Data Model and Visual Studio.
How to write a GDI+ Application
Nov 04, 2009.
In this article you’ll learn how to write your first GDI+ application, step-by-step. You will create a Window application and draw a few simple objects.
Nov 05, 2009.
This short article is based on the classic “Hello, World” sample program familiarizes you with the language syntax and introduces the command line compiler.
Using ADO.NET Entity Data Model in WPF
Nov 06, 2009.
This article will show you how to fetch and show data from database using ADO.NET Entity Data Model in WPF.
Types in C#
Nov 13, 2009.
In this article I will explain about data types in C#.
An XML Document and its Items
Nov 19, 2009.
In this article I will explain you about XML Document and its Items.
Standardizing Incoming Messages Using Inbound Maps Tab on Receive Port Properties in BizTalk Server
Nov 25, 2009.
In this article we will see how to develop integration applications which receive documents with different schemas arriving from external entities, and it’s required to transform each format to a common (canonical) internal schema using port maps on the receive ports in BizTalk Server.
BufferedStream, MemoryStream and CharacterStream Class in C#
Dec 17, 2009.
In this article I will explain you about BufferedStream, MemoryStream and CharacterStream Class in C#.
How Do I Choose a Data Provider?
Dec 21, 2009.
In this article I will explain about How Do I Choose a Data Provider?
String Encoding/Decoding and Conversions in C#
Feb 02, 2010.
In this article I will explain you about String Encoding/Decoding and Conversions in C#.
ADO.NET Data Model and ADO.NET Data Service in Silverlight 3
Feb 17, 2010.
In this article we would see how we can use ADO.NET Entity Data Model as the ORM in Silverlight 3 Application, and ADO.NET Data Service to fetch the data.
System.Windows.Xps.Packaging Reference Missing
Mar 01, 2010.
If you need to use XpsDocument class in your WPF project, you must add reference to System.Windows.Xps.Packaging namespace.
What is an Interface?
Mar 09, 2010.
Interface is a reference type it contains only abstract members.
C# Corner Chandigarh DevCon16
Chandigarh DevCon16 is a one-day Developer Conference where programmers, technologists, authors, and members meet, demonstrate, plan, and hang out.
CBeyond Cloud Services
TERMS & CONDITIONS
REPORT A BUG
©2016 C# Corner. All contents are copyright of their authors.
Terms & Conditions
©2016 C# Corner. All contents are copyright of their authors.