lol
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Zobrazi prspevky MenuQuote from: Aniy on 04.06.2009, 17:08:59hej dostaneš doslova po klobáse.. po tej svojej
na dekanskom už len po klobase?
Quote from: byglajs on 31.05.2009, 21:39:59si to skompiluj a uvidíš či to je správne alebo nie
Zdravím
Vie niekto poradiť? pls
Je takto definované rozhranie syntakticky správne ?public interface ISolid
{
double Volume{ get;}
}
Vďaka.
Quote from: jayb33 on 18.05.2009, 21:23:25netreba nič
......je treba pri odovzdavani zadania u Poklembu nejaku dokumentaciu?
public class PlayerScoreTimeComparer : IComparer
{
int IComparer.Compare(object x, object y)
{
PlayerScore time1 = (PlayerScore)x;
PlayerScore time2 = (PlayerScore)y;
if (time1.Time < time2.Time) return -1;
else if (time1.Time > time2.Time) return 1;
else if (time1.Time == time2.Time) return 0;
return 0;
}
}
private PlayerScoreTimeComparer timeComparer = new PlayerScoreTimeComparer();
playerScore.Sort(timeComparer);
private List<PlayerScore> playerScore = new List<PlayerScore>();