Jak w isolated storage zrobić tablicę wyników? Obecnie zapisuję jeden wynik- najlepszy. Chodzi mi o tablicę 5 najlepszych wyników.
if (wynik > najlepszy)
{
IsolatedStorageFile savegameStorage = IsolatedStorageFile.GetUserStoreForApplication();
IsolatedStorageFileStream fs = null;
using (fs = savegameStorage.CreateFile("zapis"))
{
if (fs != null)
{
// just overwrite the existing info for this example.
byte[] bytes = System.BitConverter.GetBytes(wynik);
fs.Write(bytes, 0, bytes.Length);
}
}