SETHA SITE INFORMATION

  • Increase font size
  • Default font size
  • Decrease font size
C# 2008

How to get file name from a specified directory in C#.Net?

E-mail Print PDF
The below VB.Net code uses to get all document files (*.docx) in directory C:\Test\. For example, if we have 3 document files (.docx) in C:\Test\ directory then the below code will result those three files in full path on 3 message boxes sequentially. C# Code
string[] strFiles;
strFiles = System.IO.Directory.GetFiles("C:\\Test\\","*.docx");
foreach (string str in strFiles)
{
    MessageBox.Show(str);
}
 

Create Class (OOP) in Visual C# 2008

E-mail Print PDF
This article shows you the C# programming language on how to:
  • Create Class and Object
  • Create Class Properties
  • Create Class Methods
  • Create Timer Object in Class

Download Source Code Here
 

Create Simple Calculator in Visual C# 2008

E-mail Print PDF

This article shows you how to create simple Calculator using C# programming in Visual C# 2008. Within this article you will know:

  • how to declare variables
  • how to use global variables
  • how to to use if...else...
  • how to design form using some controls such as button and label

Download Source Code
Part 1:

Part 2:

Part 3:
 

Create HelloWorld Console Application in C# 2008

E-mail Print PDF
The below video shows you how to create HelloWorld Console Application in Visual C# 2008.
 

Create HelloWorld Windows App in C# 2008

E-mail Print PDF
The below video shows you how to create HelloWorld Windows Application in Visual C# 2008.
 
  • «
  •  Start 
  •  Prev 
  •  1 
  •  2 
  •  Next 
  •  End 
  • »


Page 1 of 2