Pomster
Pomster

Reputation: 15197

How can a store tag's into a list C# asp.net application?

I want to store a list of tags so that i could later on use it in a tag cloud.

The list can be hard coded and does not need to be populated as the application is running, the list can be edited when ever i would like to add more tags.

A tag is a link correct? how would i save the link as a word?

Could someone please show me how i can do this.

Thanks in advance :D

Upvotes: 0

Views: 379

Answers (1)

Hans Leautaud
Hans Leautaud

Reputation: 1752

You could use a Dictionary.

Dictionary<string, string> a = new Dictionary<string, string>();
a.Add("tag", "url");

Isn't this what you want?

Upvotes: 1

Related Questions