Csharp设计模式图书加源代码是csharp程序员学习模式编程的一本好书
源代码在线查看: command.cs
- using System;
- using CsharpPats;
-
- namespace Strategy
- {
-
-
-
- public interface Command
- {
- void Execute();
- }
- }
-
using System;
using CsharpPats;
namespace Strategy
{
///
/// Command interface
///
public interface Command
{
void Execute();
}
}