Click here to Skip to main content
15,892,797 members
Articles / Programming Languages / C#

Strategy method or Switch statement in C#

Rate me:
Please Sign up or sign in to vote.
5.00/5 (1 vote)
9 Jun 2011CPOL 6.3K  
This is what I would do:using System;using NUnit.Framework;using System.Reflection;namespace Profix.Utils.Xpo.UnitTests{ [TestFixture] public class Functions { private void Tax() { Console.WriteLine("Computed Tax."); } private void Sale() {...

Views

Daily Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
FDW
Netherlands Netherlands
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions