In the code below I can't understand the line
List<Surface> sfcStars = new List<Surface>();
What's going on here, and what are "<>" those doing in the code, I've never seen the before.
I got this code from http://www.tuxradar.com/beginnerscode
using System;
using SdlDotNet.Graphics;
using System.Collections.Generic;
using System.Drawing;
namespace TroutWars
{
class Starfield
{
List<Surface> sfcStars = new List<Surface>();
public Starfield()
{
sfcStars.Add(new Surface("content/stardark.bmp"));
sfcStars.Add(new Surface("content/starmedium.bmp"));
sfcStars.Add(new Surface("content/starbright.bmp"));
}
}
}