|
//
// Foo1.cs
// Extracted from Practical .NET2 and C#2
// http://www.practicaldot.net/en2/Chapter_2/Listing_2_2.htm
//
using System;
using System.Reflection;
[assembly: AssemblyCompany("ParadoxalPress")]
namespace Foo {
class Program {
public static void Main(string[] argv) {
Console.WriteLine("Hi from Foo1");
Bar b = new Bar();
Console.WriteLine( b );
}
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
Patrick Smacchia is a .NET MVP involved in software development for over 15 years. He is the author of
Practical .NET2 and C#2, a .NET book conceived from real world experience with 647 compilable code listings. After graduating in mathematics and computer science, he has worked on software in a variety of fields including stock exchange at Société Générale, airline ticket reservation system at Amadeus as well as a satellite base station at Alcatel. He's currently a software consultant and trainer on .NET technologies as well as the author of the freeware
NDepend which provides numerous metrics and caveats on any compiled .NET application.