The Wayback Machine - https://web.archive.org/web/20090527042348/http://msdn.microsoft.com:80/en-us/library/kx37x362.aspx
Visual C# Language Concepts
Visual C#

C# (pronounced "C sharp") is a programming language that is designed for building a variety of applications that run on the .NET Framework. C# is simple, powerful, type-safe, and object-oriented. The many innovations in C# enable rapid application development while retaining the expressiveness and elegance of C-style languages.

Visual C# is an implementation of the C# language by Microsoft. Visual Studio supports Visual C# with a full-featured code editor, compiler, project templates, designers, code wizards, a powerful and easy-to-use debugger, and other tools. The .NET Framework class library provides access to many operating system services and other useful, well-designed classes that speed up the development cycle significantly.

Getting Started with Visual C#

Introduces the features of C# 3.0 for programmers who are new to the language or are new to Visual Studio, and provides a roadmap for finding Help about Visual Studio. This is also where "How Do I" pages are located.

Using the Visual C# IDE

Introduces the Visual C# development environment.

Writing Applications with Visual C#

Provides a high-level orientation that explains common programming tasks by using C# and the .NET Framework, with links to more detailed documentation.

Migrating to Visual C#

Compares the C# language to Java and C++ and describes how to use the Java Language Conversion Assistant to convert Java and Visual J++ applications to Visual C#.

C# Programming Guide

Provides information and practical examples about how to use C# language constructs.

C# Reference

Provides detailed reference information about C# programming concepts, keywords, types, operators, attributes, preprocessor directives, compiler switches, compiler errors, and compiler warnings.

C# Language Specification

Links to the latest version of the C# Specifications in Microsoft Word format.

Visual C# Samples

Provides sample source code that demonstrates how to program by using Visual C#.

What's New in Visual C#

Describes new features in the Visual C# IDE and compiler.

Other Resources


Getting Started with Visual C#
Using the Visual C# IDE
Visual C# Guided Tour
Migrating to Visual C#
Writing Applications with Visual C#
C# Programming Guide
C# Reference
Visual C# Samples

MSDN Library
Development Tools and Languages
Visual Studio 2008
Visual Studio
Visual C#
Tags: 
 
Community Content
C#: Get all Information about Remote Machine   Last Edit 8:53 PM by Thomas Lee   
using System;
using System.Management;

public class RemoteConnect{

public static void Main() {

// Build an options object for the remote connection
// if you plan to connect to the remote
// computer with a different user name
// and password than the one you are currently using.
// This example uses the default values.
ConnectionOptions options = new ConnectionOptions();

// Make a connection to a remote computer.
// Replace the "FullComputerName" section of the
// string "\\\\FullComputerName\\root\\cimv2" with
// the full computer name or IP address of the
// remote computer.
ManagementScope scope = new ManagementScope( "\\\\FullComputerName\\root\\cimv2", options);
scope.Connect();

//Query system for Operating System information
ObjectQuery query = new ObjectQuery( "SELECT * FROM Win32_OperatingSystem");

// To get information about Logical Disks on Computer
//new SelectQuery("Select * from Win32_LogicalDisk")

ManagementObjectSearcher searcher = new ManagementObjectSearcher(scope,query);
ManagementObjectCollection queryCollection = searcher.Get();
foreach ( ManagementObject m in queryCollection) {
// Display the remote computer information
Console.WriteLine("Computer Name : {0}", m["csname"]);
Console.WriteLine("Windows Directory : {0}", m["WindowsDirectory"]);
Console.WriteLine("Operating System: {0}", m["Caption"]);
Console.WriteLine("Version: {0}", m["Version"]);
Console.WriteLine("Manufacturer : {0}", m["Manufacturer"]);

// To display Logical Disks information
// Console.WriteLine("Disk: {0}", m["Name"].ToString()); // Console.WriteLine("Disk: {0}", m["Size"].ToString()); } }}

}

[tfl] tried to tidy up the sample after MSDN code editor did a mangle job!
Tags: contentbug what remote is information machine searcher 
Get List of Processes on a Machine   Last Edit 8:54 PM by Thomas Lee   
using System;
using System.Diagnostics;

namespace ProcesseWatch
{

public class ProcessList
{
public static void Main()
{

foreach(Process oPro in Process.GetProcesses())
Console.WriteLine(String.Format("[{0}] : {1}",oPro.Id, oPro.ProcessName));
}
}
}
Tags: process