用心快乐、用心成功

用心.NET

博客园 首页 新随笔 联系 订阅 管理
  16 Posts :: 0 Stories :: 56 Comments :: 0 Trackbacks

CRC 校验有 CRC 8位 16位 32位 所以在实现这些校验算发之前,先实现它们的接口!

using System;

namespace CRC
{
 public interface ICRC
 {
    
  long Value
  {
    get;
  }
  
  void Reset();
  
  void Crc(int bval);
  
  void Crc(byte[] buffer);
  
  void Crc(byte[] buf, int off, int len);

 }
}

posted on 2004-12-27 14:20 用心(Canny) 阅读(2483) 评论(2) 编辑 收藏

评论

我引用代码编译的时候提示 “不包含适合于入口点的静态 main 方法” 为什么呢?
 回复 引用   

急着等你的使用呀
 回复 引用