在App開發上常遇到UI介面上顯示多語言的需求,先前沒碰過C#,
現在工作上正好有所涉入研究出一些小心得,
一方面怕時間一久會忘記,所以上來備份一下,順便梳理自己的思緒,
歡迎各位批評指教,如果有錯誤再麻煩告知,謝謝。
現在工作上正好有所涉入研究出一些小心得,
一方面怕時間一久會忘記,所以上來備份一下,順便梳理自己的思緒,
歡迎各位批評指教,如果有錯誤再麻煩告知,謝謝。
<code class="prettyprint">程式碼內容</code> <pre class="prettyprint">程式碼內容</pre>
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Web;
- namespace BookService.Models
- {
- public class BookDetailDTO
- {
- public int Id { get; set; }
- public string Title { get; set; }
- public int Year { get; set; }
- public decimal Price { get; set; }
- public string AuthorName { get; set; }
- public string Genre { get; set; }
- public string Genre { get; set; } //還可以標記特別區塊
- }
- }
int x = foo(); /* This is a comment This is not code Continuation of comment */ int y = bar();