/// <summary>
 /// 测试内部类代码.暂时保留
 /// </summary>
 public class Goods
 {
  private class Content : Contents
  {
      private int i = 11;
   public int value1()
   {
    return i;
   }
  }
  protected class GDestination:Destination
  {
   private String label;
   private GDestination(string whereTo)
  {
   label = whereTo;
  }
  public string readLabel()
  {
   return label;
  }
   public Destination dest(String s)
   {
    return new GDestination(s);
   }
   public Contents cont()
   {
    return new Content();
   }
 }


 }
 public interface Contents
 {
  int value1();
 }

 public interface Destination
 {
  string readLabel();
 }

相关文章:

  • 2021-09-03
  • 2022-12-23
  • 2022-02-19
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-11-26
  • 2022-01-12
  • 2022-01-27
  • 2021-10-13
  • 2022-12-23
相关资源
相似解决方案