Home C#

C#

how to write a string to text file in c# .net

Suppose you want to write a string content to a file located at path: "c:/writeme.txt". Below is the code snippet to do so.   Further, if more text is to be appended to the same file.      

how to read a text file in c# .net

Suppose you want to read a file located at path: "c:/readme.txt". Below is the code snippet to do so.  
add a tag in xml using c#

How to add a tag in xml file using c#

What is XML? XML stands for Extensible Markup Language. It is much like HTML but self descriptive and designed to be more human readable. As the name suggest, it is like and extended/customized version of...
find a xml tag value in c#

how to find a xml tag value in xml file using c#

What is XML? XML stands for Extensible Markup Language. It is much like HTML but self descriptive and designed to be more human readable. As the name suggest, it is like and extended/customized version of...
c# console application

How to create a console application in C#

C# Console Application from scratch. First of All, What is Console Application: A console application is a computer program designed to be used via a text-only computer interface, such as a text terminal, the command line...