Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- namespace InfGospUtils
- {
- class SoccerDictionary
- {
- public const int All = 0;
- public const int Live = 1;
- public const int England = 2;
- public const int Italy = 3;
- public const int Spain = 4;
- public const int Germany = 5;
- public const int France = 6;
- public const int Holland = 7;
- public const int Belgium = 8;
- public const int Portugal = 9;
- public const int Scotland = 10;
- public static string ToString(int category)
- {
- switch (category)
- {
- case 0:
- return "soccer";
- case 1:
- return "live";
- case 2:
- return "england";
- case 3:
- return "italy";
- case 4:
- return "spain";
- case 5:
- return "germany";
- case 6:
- return "france";
- case 7:
- return "holland";
- case 8:
- return "belgium";
- case 9:
- return "portugal";
- case 10:
- return "scotland";
- default:
- return null;
- }
- }
- }
- }
Add Comment
Please, Sign In to add comment