A few questions.


in vb6 application used long time making small multi-player games save udt so

for = 1 max_animations         filename = app.path & "\data\animations\animation" & & ".dat"         f = freefile         open filename binary #f             put #f, , animation(i)         close #f     next

i wondering if there similar way in c#?

lastly better? struct or class hold list/array of data?


this not vb6, more kind of ms basic 1. 

however, this.

        static void save(byte[][] annimations)         {             (int = 0; < annimations.length; i++)             {                 system.io.file.writeallbytes(@"thepath\thefilename" + convert.tostring(i) , annimations[i]);             }         }


success
cor



Visual Studio Languages  ,  .NET Framework  >  Visual C#



Comments

Popular posts from this blog

Azure DocumentDB Owner resource does not exist

job syspolicy_purge_history job fail in sqlserver 2008

Trying to register with public marketplace error with 'Get-AzureStackStampInformation'