C# Declaration of Class for use as List : I'm trying to declare this item for use as a list.

    class Item
		{
			Public int Resource{ get;set; }
			Public long Offset{ get;set; }
			Public int Value{ get;set; }
		}

I thought this would be ok, I copied it off someone else, but I don't understand what get and set do. I'm completely new to C#, but the tutorial I watched put their class declaration in a different file - do you have to do that?

I get this error : "Line: 15 Column: 11 (CS1519) Invalid token 'int' in class, struct, or interface member declaration"