最近2018中文字幕在日韩欧美国产成人片_国产日韩精品一区二区在线_在线观看成年美女黄网色视频_国产精品一区三区五区_国产精彩刺激乱对白_看黄色黄大色黄片免费_人人超碰自拍cao_国产高清av在线_亚洲精品电影av_日韩美女尤物视频网站

RELATEED CONSULTING
相關咨詢
選擇下列產(chǎn)品馬上在線溝通
服務時間:8:30-17:00
你可能遇到了下面的問題
關閉右側工具欄

新聞中心

這里有您想知道的互聯(lián)網(wǎng)營銷解決方案
c#如何使用XML文檔功能-創(chuàng)新互聯(lián)

c#如何使用 XML 文檔功能?很多新手對此不是很清楚,為了幫助大家解決這個難題,下面小編將為大家詳細講解,有這方面需求的人可以來學習下,希望你能有所收獲。

成都創(chuàng)新互聯(lián)服務項目包括龍陵網(wǎng)站建設、龍陵網(wǎng)站制作、龍陵網(wǎng)頁制作以及龍陵網(wǎng)絡營銷策劃等。多年來,我們專注于互聯(lián)網(wǎng)行業(yè),利用自身積累的技術優(yōu)勢、行業(yè)經(jīng)驗、深度合作伙伴關系等,向廣大中小型企業(yè)、政府機構等提供互聯(lián)網(wǎng)行業(yè)的解決方案,龍陵網(wǎng)站推廣取得了明顯的社會效益與經(jīng)濟效益。目前,我們服務的客戶以成都為中心已經(jīng)輻射到龍陵省份的部分城市,未來相信會繼續(xù)擴大服務區(qū)域并繼續(xù)獲得客戶的支持與信任!

示例

// If compiling from the command line, compile with: -doc:YourFileName.xml

/// 
/// Class level summary documentation goes here.
/// 
/// 
/// Longer comments can be associated with a type or member through
/// the remarks tag.
/// 
public class TestClass : TestInterface
{
  /// 
  /// Store for the Name property.
  /// 
  private string _name = null;

  /// 
  /// The class constructor.
  /// 
  public TestClass()
  {
    // TODO: Add Constructor Logic here.
  }

  /// 
  /// Name property.
  /// 
  /// 
  /// A value tag is used to describe the property value.
  /// 
  public string Name
  {
    get
    {
      if (_name == null)
      {
        throw new System.Exception("Name is null");
      }
      return _name;
    }
  }

  /// 
  /// Description for SomeMethod.
  /// 
  ///  Parameter description for s goes here.
  /// 
  /// You can use the cref attribute on any tag to reference a type or member
  /// and the compiler will check that the reference exists.
  /// 
  public void SomeMethod(string s)
  {
  }

  /// 
  /// Some other method.
  /// 
  /// 
  /// Return values are described through the returns tag.
  /// 
  /// 
  /// Notice the use of the cref attribute to reference a specific method.
  /// 
  public int SomeOtherMethod()
  {
    return 0;
  }

  public int InterfaceMethod(int n)
  {
    return n * n;
  }

  /// 
  /// The entry point for the application.
  /// 
  ///  A list of command line arguments.
  static int Main(System.String[] args)
  {
    // TODO: Add code to start application here.
    return 0;
  }
}

/// 
/// Documentation that describes the interface goes here.
/// 
/// 
/// Details about the interface go here.
/// 
interface TestInterface
{
  /// 
  /// Documentation that describes the method goes here.
  /// 
  /// 
  /// Parameter n requires an integer argument.
  /// 
  /// 
  /// The method returns an integer.
  /// 
  int InterfaceMethod(int n);
}

本文標題:c#如何使用XML文檔功能-創(chuàng)新互聯(lián)
瀏覽地址:http://fisionsoft.com.cn/article/dcsgch.html