MenuStrip Example With ToolStripMenuItem

This code snippet shows how to programatically add a MenuStrip to a form.

DataGridView CellClick Event

This code snippet demonstrates how to get a cell value using the CellClick event.

Populate A DataGridView Using DataTable

This code snippet shows how to populate a DataGridView control using a DataTable.

Simple Echo Server

This code snippet demonstrates a simple echo server.

Simple HTTP Client To Download Web Page

This code snippet shows how to download a webpage using the TcpClient class.

Write To File Using StreamWriter

This code snippet shows how to write to a text file using the StreamWriter class.

Read A File Using StreamReader

This code snippet shows how to read a file using the StreamReader class.