C# Programming Tutorials

C Sharp Programming Tutorials And Articles
  Title Reverse Sort Order / Author Replies
Views
Introduction Classe Will be used to implement most objects. Somtimes however, it may be desirable to create an object that behavves like one of the references. in that case, a value type used, wich is done by declaring a Struct in C#. structs act similarly to classes, but with a few added...
0
3,061
If you are beginner to LINQ, I will suggest you to first read Introduction to LINQ. However, if you have read that article or have some basic understanding of LINQ queries and lambda expressions, you can carry on with this article. In this article, I am going to explain you some more advanced LINQ...
0
2,435
Windows Forms text boxes are used to get input from the user or to display text. The TextBox control is generally used for editable text, although it can also be made read-only. Text boxes can display multiple lines, wrap text to the size of the control, and add basic formatting. The TextBox...
10
293,831
Most of the .NET functionalities are provided via managed types. These managed types are organized in hierarchical namespaces. .NET framework contains thousands of types and the number is prospering with every passing day as more and more developers are contributing towards expanding the language...
0
1,910
In my recent articles, I have been walking you through some of the most commonly used types and interfaces that play integral role in storing collection of items. We have previously studied Lists, Stacks, Queues and other collections. I have also explained Array class and its usage in one of my...
0
2,065
WPF content controls are a specialized form of WPF controls and are used to store content either entered by the user or read from any other data source. Content controls can contain only one child element. This is unlike layout controls such as Grid, WrapPanel and StackPanel controls that contain...
0
2,445
C# is a strongly typed language: You might have heard this sentence numerous times. Have you ever wondered, what does that actually mean? We are here with the answer to this question and we would introduce to another fairly advanced and extremely interesting .NET concept, known as dynamic binding....
0
1,240
Most of the time, a developer needs to read or write data from a location outside the memory of the program. This location can be a text file, a network connection a database or any other source of data. In order to deal with such sources of information, .NET Framework provides a set of classes...
0
2,212
LINQ is Microsoft’s latest data access technology. LINQ stands for language integrated query and it can be leverage to execute complex queries in a simple and more understandable manner. LINQ provides diverse query execution functions with the help of special methods that are known as query...
0
1,081
C# and Java are object oriented language where all code resides in a .NET type called class. An object oriented languages are those languages where user defined code has to be in some class. C# is 99.9% object oriented. You must be wondering why not 100%? The reason is that primitive data types in...
0
1,169
Almost every software application has to deal with some sort of text information. This information can be the content of some email, a network message or some input value obtained from the user. WPF contains Text controls for this purpose that can be used to get input from the user. Similarly, to...
0
1,862
Grid layout is one of the most widely used layouts in any WPF application. The basic concept of a Grid is that it divides the window surface into grids of invisible rows and columns to which other controls or layouts can be added. Grids are usually invisible but can be made visible for debugging...
1
2,206
XML documents are a standards described by World Wide Web Consortium (W3C) that are used for transferring information over the internet. The .NET Framework provides several namespaces and classes that allow developers to read, write and interact with the XML documents. In my article on LINQ to XML,...
0
2,617
In my last article, I explained, how can we iterate upon a collection to traverse or enumerate its items using the IEnumerable and IEnumerator interfaces along with their generic conterparts. However, those interfaces have some limitations, for instance we could only traverse the collection in...
0
1,074
Introduction We use Winsock to establish connection between client and server . This is the beginning of everything in the computer of today's !!! The net is the most power tools of the programmers and you must learning to use it. In this article we will see how to create a simple chat...
13
68,636
Introduction Whenever you generate a new C# Windows Application using the .NET IDE you have the following lines in the main of your program in program.cs file. Did you ever try to note what are these and what do they do. If not I will explain to you the meaning of each line. ...
4
7,993
In addition to string, another extremely important entity that lays at the foundation of any software application is the numbers. Numbers play a very crucial role, particularly in the business logic layer of any software application. Logic building requires strong knowledge of numbers and their...
0
1,077
Specialized containers are a variant of content controls but unlike content controls which can hold simple content type such as string or UIElement object, the specialized containers has larger impact and they affect the outlook of the larger portion of content visible on the screen. In this...
0
3,051
Introduction XML, or Extensible Markup Language, is a very popular format used to store and share data. In a nutshell, XML stores information in a tree-based text format that allows both you and I as well as computers to easily read the data. I'm sure you have used XML-like languages directly or...
0
29,656
Introduction The parser gives you a place to start to write an XML parser in C#. We have used the System.Xml. The code public void ParseFile(string strPath) { XmlTextReader xmlReader = new XmlTextReader(strPath); int iTab = 0;
2
75,656