C# Help - C# Community and Information

C# String manipulation, string constructors, string assignment, and the StringBuilder class

September 24th, 2007 in C# Language by admin

Why is string manipulation so important?Because, as programmers, we do so much of it. In fact, on some days, itseems that everything is string manipulation. If you know how toprogram with strings, you're a great way along the journey to becominga powerful programmer. Fortunately, C# provides facilities for workingwith and manipulating strings. In this tutorial we will explain thetypes and methods related to strings, so that you can make short workof most common string-manipulation tasks in your projects. Read more…

Generate unique strings and numbers in C#

September 18th, 2007 in C# Language by admin

The System.Guid is used whenever we need to generate a unique key, but it is very long. That's in many cases not an issue, but in a web scenario where it is part of the URL we need to use its string representation which is 36 characters long. It clutters up the URL and is just basically ugly. Read more…

C# Strings and Regular Expressions

May 12th, 2007 in C# Language by admin

3.0. Introduction

It would be very rare to create an entireapplication without using a single string. Strings help make sense ofthe seemingly random jumble of binary data that applications use toaccomplish a task. They appear in all facets of application developmentfrom the smallest system utility to large enterprise services. Theirvalue is so apparent that more and more connected systems are leaningtoward string data within their communication protocols by utilizingthe Extensible Markup Language (XML) rather than the more cumbersometraditional transmission of large binary data. This book uses stringsextensively to examine the internal contents of variables and theresults of program flow using Framework Class Libraries (FCL) methodssuch as Console.WriteLine and MessageBox.Show. Read more…

C# String Type Object Peculiarities

March 18th, 2007 in C# Language by admin

Purpose

The main purpose of this article is to exploresome common and uncommon issues regarding DotNet and C#. Among suchcommon things my first article is on string data type which isreference type but some developers don�t understand it�s behavior whencompare with others reference type. Read more…

Manipulating Strings The Way C/C++ Programmers Use To

November 5th, 2006 in C# Language by admin

I have been asked a lot lately, how come it'sso different in C# to play around with strings? How come we have to doso many manipulations. We used to do this using recursions. Whilerecursions are fine, they are a main source for flaws and glitches, andI don't think you have to use them. Read more…

XML String Building

August 24th, 2006 in C# Language by admin


Read more…

String To A Byte Array

August 22nd, 2006 in C# Language by admin


Read more…

String extractors and manipulators in C# – Part IV

April 14th, 2006 in C# Language by admin


Read more…

C# String Class

March 21st, 2006 in C# Language by admin


Read more…

String Extractors And Manipulators – The “Mid” Function (Part – III)

February 15th, 2006 in C# Language by admin


Read more…