Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
後でタグクラウドで使用できるように、タグのリストを保存したいと考えています。
リストはハードコーディングでき、アプリケーションの実行中にデータを入力する必要はありません。タグを追加したいときはいつでもリストを編集できます。
タグはリンクですよね?リンクを単語として保存するにはどうすればよいですか?
誰かが私にこれを行う方法を教えてください。
前もって感謝します:D
辞書を使用できます。
Dictionary<string, string> a = new Dictionary<string, string>(); a.Add("tag", "url");
これはあなたが望むものではありませんか?