C# Corner

Resources  
  • 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.
  • Database Explorer : Part 2Jan 22, 2001. Attached is a C# program which is a enhanced version of the previous article on ADO.NET.
  • Verbatim String LiteralsMar 01, 2001. I used to wonder, if I could somehow represent "\" as "\" instead of the escape sequence for black slash ("\\") in string.
  • Effective C#: Working with StringsMar 12, 2001. Using string might degrade the performance of your application. This article explains about what precautions you should take when you are going to use strings in your application.
  • Using Delegates to Choose Right FunctionApr 01, 2001. The need to call different class method based on some string passed to class is an old problem.
  • 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.
  • strnicmp equivalent in C#Aug 07, 2001. C# equivalent strnicmp function in C language. It accepts two input strings along with the number of positions of chars to compare.
  • Basic Database Operations in ADO.NETAug 08, 2001. This Article will show the basic database transactions select, insert update and delete.
  • CDataService: A Generic Database Access ClassAug 09, 2001. Using a generic database access component in data-aware applications can simply development and separate data tier from business tier.
  • XML GeneratorAug 17, 2001. This article is about advance use of reflection package in Csharp.
  • 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.
  • Easter CalculatorAug 22, 2001. This program calculates the dates for Easter for any given year and for an hundred years.
  • String Jargon in C#Sep 05, 2001. The following article shows some String functions which are not currently available directly in C#.
  • Regular Expressions Usage in C#Sep 07, 2001. The source code shows how to use Regular Expressions in C#.
  • Playing with StringsSep 18, 2001. This program explores the String class and its various methods. With this you will be able to initialize strings using different constructors and use them. To see how the methods of the 'String' class work, see the following code.
  • IComparable: Under the HoodSep 21, 2001. We now calling Array.Sort() on C# Types such as int, char, string will automatically do sorting based on that type.
  • C# and .NETJan 07, 2002. It is sometimes important to know the details of what the compiler does. You may want to know whether constants are evaluated at compile time, or whether constant strings are folded at compile time.
  • Hangman Program Using C#Jan 19, 2002. Hangman was created to illustrate several features of C# including GDI+, string manipulation, array processing, using properties, as well as simple creation of objects.
  • Working with Strings in VB.NETFeb 05, 2002. This article is VB.NET version of Working with Strings in .NET using C#.
  • Web/WAP Calender form Harrison LogicFeb 11, 2002. This application provides an updateable web-based calendar that can be viewed from both the Web and through a Mobile device, such as a cellular phone.
  • A Database Web ServiceFeb 22, 2002. This program is a Web service, which contains Web methods that return a dataset after querying a database (any database) given the connection string, the password, the database, the table, the user ID and the SQL commands.
  • Boxing and Performance of CollectionsMar 14, 2002. In this article, I will compare some performance issues of values and references types during boxing and unboxing operations.
  • Printing Invoices using C# and .NETMar 18, 2002. This program can stand improvements but it will get you started in creating an invoice and printing it to the printer.
  • SQL Server Database ExplorerMar 20, 2002. This application connects to a running SQL Server 2000 and displays all the available databases in it.
  • Poorman's Installation program in C# and .NETApr 08, 2002. Installation programs can be quite expensive these days. Although programs such as Wise and InstallShield have fantastic features and are fairly comprehensive, sometimes you just want to do the easy installation of copying and pasting files into a directory and perhaps placing a shortcut in the start menu.
  • Gene Expression Programming (GEP) in C# and .NETApr 11, 2002. Gene Expression programming (GEP) is a subset of Genetic Algorithms, except it uses genomes whose strings of numbers represent symbols. The string of symbols can further represent equations, grammars, or logical mappings.
  • Communication Between Two Forms: Part-IIJun 24, 2002. Last time I wrote about the possibility of sending a string from a textbox in one form to another.
  • StringBuilder and String ConcatenationOct 01, 2002. String concatenation is one of the commonly used operations among programmers.
  • How to Fill Your Own Dynamic Objects using ADO.NETOct 02, 2002. Sometimes you need to use information of different types like strings, booleans or doubles in the same data structure.
  • More AI...(GEP) Gene Expression Programming in C# and .NETNov 04, 2002. Gene Expression programming (GEP) is a subset of Genetic Algorithms, except it uses genomes whose strings of numbers represent symbols.
  • C# Versions of Java's StringTokernizerJan 13, 2003. Here is another C# version of the Java StringTokenizer Class from the version posted August last year on your site. Given a string and a set of delimiters, the class return an enumeration of substrings based on the delimeters passed in.
  • Strings in C# Part 2Feb 05, 2003. This article discusses how to format, trim and pad strings using the String class. The article also covers the StringBuilder to effectively deal with string such as string concatenation,
  • String in C#Feb 05, 2003. In this article, you will learn how to work with strings in C#. The article discusses the String class, its methods and properties and how to use them.
  • Run Time CompilerFeb 07, 2003. In this article, I am going to discuss how to take a string then compile it and then how you execute it.
  • Histogram Code in C#Apr 01, 2003. C# histogram class maintains a histogram of input data. Input data is sorted into bins and a count is kept of how many data points fall into each bin.
  • Java Like StringTokenizer in C# Jun 11, 2003. The StringTokenizer class is yet another implementation of a java-like StringTokenizer in C#.
  • HTTP Handlers for Images in ASP.NETJun 23, 2003. Have you ever thought of streaming thumbnails just by passing query string indicating width or height of thumbnail you need, and most importantly passing those to image itself?
  • State Management in Web FormsFeb 18, 2004. This white paper discusses the ways in which the state management can be handled in web forms. State management can be done either on client side or server side as explained below.
  • Oracle Data Provider for .NET : Part IIFeb 20, 2004. Oracle Data Provider for .NET (ODP.NET) is an implementation of a data provider for the Oracle database. ODP.NET uses Oracle native APIs to offer fast and reliable access to Oracle data and features from any .NET application.
  • Formula Generator - A Regular Expression Generator Class in C# and .NETAug 17, 2004. The attached source code is a class - FormulaGenerator, which is a component that interprets and evaluate a string expression
  • Generating Random Number and String in C#Nov 19, 2004. The Random class defined in the .NET Framework class library provides functionality to generate random numbers. This article shows you how you can use this class to generate random numbers and strings and even combination of both.
  • Using ListBox in C#Dec 28, 2004. The source code demonstrates how to use a listbox control in C# - adding, deleting and altering strings.
  • Edit Almost Anything with AgileStudioMar 15, 2005. There are a range of controls available as standard for Windows Forms in VisualStudio .NET 2003. These include TextBox to edit strings, CheckBox to edit booleans and even a DateTimePicker. However there is a vast range of types available in .NET.
  • Convert a Comma Delimited String to an Array in C#Aug 01, 2005. This article shows how to convert an array to a comma delimited string in C#.
  • How do I Convert a String to an Enum Value?Sep 10, 2005. In this How do I, you will learn how to convert a string to an enum value in C#.
  • Convert an Enum to a StringOct 24, 2005. This article shows how to convert an enum value to a string value.
  • Server.Transfer : Passing Values from One Page to Another PageJun 19, 2006. Some times, we want to pass values from one page to another page. There are many ways by which we can do this like: by using query string, or session variable, or Server.Transer etc. This article shows you, how to pass values from one page to another page by using Server.Transfer method.
  • Regular ExpressionsJul 05, 2006. The purpose of this article is to build upon the existing pool of regular expression articles by providing an overview of the new regular expression features found in .NET and to offer some guidelines as to when and how to use them.
  • Serializing and Deserializing XML StringJul 20, 2006. In this article we will see how we can serialize a xml sring into an object and vice versa. You can serialize your object to a byte array and can deSerialize the byte array into an object.
  • Encrypting Connection Strings in ASP.Net 2.0Oct 05, 2006. This article describes how to encrypt the connection strings section in ASP.Net 2.0 web.config files and demonstrates the transperancy of using encrypted connection strings in your web application.
  • How to Convert String to Hexadecimal and Vice versaOct 31, 2006. This article shows you how to convert string to hexadecimal and vice versa. I did this program for my smart Card application.
  • Working with HashTable in C# 2.0Nov 13, 2006. We often need to store more than one dimension data in a list and data may not be an integer or string. This article shows how to use the HashTable class to store object type data.
  • ASP.Net State Management TechniquesJan 02, 2007. This article gives brief introduction to various state management techniques in ASP.NET.
  • Add a Quick Map to a Windows ApplicationMar 15, 2007. This project demonstrates a quick and easy way to add mapping to a windows desktop application (with an available internet connection) using Google Maps as the basis and source for the map.
  • Hiding the Date in a Date Time Picker ControlMar 26, 2007. This very short article will address an extremely easy way to hide the date value contained in a date time picker control. While the control contains no property that will allow you to hide the current date, nor to set the value of the control to null or an empty string, it is still possible, and even very easy to generate a date time picker control that does not display a date.
  • Regular Expression Usage in .Net EnvironmentApr 19, 2007. This article describes how to use regular expression in .Net.
  • 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.
  • Extending The String ClassMar 17, 2008. This article will show you a technique (new for C# 3.0) that allows you to extend the string class inside the .NET framwork to include your own string methods.
  • Add and handle application settings in the configuration file: Part IIApr 16, 2008. This article tells you how to add connection string using the configuration file itself.
  • Add and handle connection strings in an application configuration file: Part IApr 17, 2008. There are two ways to save data and parameters. In this case we save application parameters like information entered by the user during the installation process.
  • Encrypt and Decrypt Sensitive Metadata Within Your Config file Jun 18, 2008. In a certain cases, metadata embedded within your configuration file is sensitive. In fact, imagine that you develop an application that uses a data base as data source; all information about this data base is located in the configuration file. What if a hacker success to log into your configuration files and obtains the connection string and other metadata about your data base??
  • Auto create database connection string using INI by C# Jul 22, 2008. This article shows how to auto create database connection string using INI by C# .
  • Functions in SQL Server 2005Aug 07, 2008. In this article I am going to explain about some SQL Server 2005 functions with examples. Here are going to discuss about some string functions, numeric functions and date/time functions.
  • Storing and Retrieving Connection Strings in ASP.NET 2.0/3.5 Nov 04, 2008. This article demonstrates how to store database connection strings in Web.config in ASP.NET 2.0/3.5 and retrieve it for creating connection objects.
  • Saving and Retrieving Web Page Control with SQL Server and C#Dec 18, 2008. This article describes a simple approach to storing, retrieving, and redisplaying web pages.
  • Calculating the normalized compression distance between two stringsJan 20, 2009. The normalized compression distance (NCD) is a mathematical tool to cluster any objects that are similar. Besides, this article discusses the use of two RichTextBox controls for pasting and copying of text. It also introduces the use of the ContextMenuStrip control.
  • Caching FAQ's: Part IJan 22, 2009. In this section we will touch base on one of important concepts in .NET Caching.
  • Easy Date Validation in C#Feb 23, 2009. This article describes a simple approach to validating dates received as strings (e.g., 2/21/2008).
  • How to Check if there is any Alphabet or Non Alphanumeric Character in a StringJun 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#.
  • Calling External Assemblies From OrchestrationsAug 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.
  • Guide to Improving Code Performance in .NET: Part IAug 25, 2009. This article explains about benefits of using StringBuilder instead of string.
  • Data Components in Visual Studio .NET Part4Oct 13, 2009. This article will help you in understanding Data Connections in Visual Studio .NET
  • Calling External Assemblies From Maps in BizTalkOct 30, 2009. In this article, I will cover how to call external assemblies from maps in BizTalk through a simple example of an external assembly which implements the logic of string concatenation.
  • Configuring connection string using SPPersistedObjectNov 13, 2009. In this article, I am going to show how to use SPPersistedObject to save connection string in config database of web application. I will also show how to configure connection string using ADMIN UI. We really do not need to go and configure the web.config manually.
  • Drawing Text in GDI+Nov 18, 2009. In this article I will explain you how to drawing Text in GDI+.
  • Using C# inline on Maps in BizTalkDec 03, 2009. In this article, I will cover how to implement custom business logic (a simple string concatenation) using C# inline on maps in BizTalk.
  • StringReader in C# Dec 09, 2009. In this article I will explain you about StringReader and StringWriter Classes in C#.
  • Working with Text and Strings in GDI+ Dec 27, 2009. In this article I will explain about Working with Text and Strings in GDI+.
  • Strings in C# Jan 24, 2010. In this article I will explain you about Strings in C#.
  • String Initialization and System.String Class using C# Jan 26, 2010. In this article I will explain you about the String Initialization and System.String Class.
  • Custom String Methods using C# Jan 27, 2010. In this article I will explain you about the Custom String Methods using C#.
  • StringBuilder C#Feb 01, 2010. In this article, I will explain you about the StringBuilder Class in C#.
  • 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#.
  • Convert String to EnumFeb 06, 2010. How to convert a string value to an enumeration.
  • String Class: Important Member Functions using C# Feb 11, 2010. In this article I will explain you about the important Member Functions using C#.
  • LINQ to XML Part 4: Different way of Parsing string to create XML tree Feb 22, 2010. In this article, I will show different way of parsing string to create XML tree using LINQ to XML.
  • Text Trimming in Silverlight 4 Using VS 2010 BetaMar 05, 2010. In Silverlight 4, a property called TextTrimming is added to the TextBlock control, which will help the TextBlock to Trim a string up to a defined width. In this article we will see how this feature works.
  • Working with Strings with Combining CharactersApr 01, 2010. In this article we will see the working of strings with combining characters (like diacritics in Arabic).
  • Localization in Silverlight 4.0May 05, 2010. Localization is the process of enabling an application for particular country, region or group by adding local specific component and by translating strings displayed in UI to local language.
  • Simple Explanation for very beginners of Query StringMay 10, 2010. Query String allows you to pass values between the asp.net pages.
  • .Net 4.0 Code Level EnhancementsMay 10, 2010. I am publishing here some features which is mainly meant to get a quick start for developers.
  • String Format Extension in XAML Binding in Silverlight 4 May 13, 2010. In Silverlight 4, an extension property called StringFormat is added to display formatting display. There are some predefined formats available. In this article we will see some of them.
  • StringCollection in C#May 23, 2010. StringCollection class is a new addition to the .NET Framework class library that represents a collection of strings. In this article, we will discuss how to take advantages of its methods and properties to manage a collection of strings.
  • DomainUpDown in C#Jun 21, 2010. A DomainUpDown control allows users to provide a spin (up/down) interface to move through pre-defined strings using up and down arrows. In this tutorial, we will see how to create a DomainUpDown control and use it in a Windows Forms application.
  • Connection String Placement in ASP.NetJul 15, 2010. This Article will explain you about placing the connection string in web pages.
  • Use Array and String in ASP.NET to Sort MethodJul 19, 2010. In this article we will learn how to use array and string in ASP.NET.
  • Step by Step walkthrough on CRUD Operation on Azure table: Part IIJul 21, 2010. This article is going to explain , how we can use AZURE table. This article will explain how to create a stroage account and then modify the connection string in exsiting azure application using local development storage.
  • Modification in string using Stringbuilder class in C#Jul 27, 2010. Modification in string using Stringbuilder class in C#
  • Generating Random Passwords with ASP. NET and C#Aug 12, 2010. This tutorial shows how we can use C# to generate a random password.
  • How to use SpriteFont in XNAAug 12, 2010. In this article I will be talking about how to use SpriteFont and draw string on XNA.

About concatenate-string

NA

SPONSORED BY

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!
Download Free eBooks