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

How to Share webservice object to all user

BizTalk Server 2013 Azure VM Log Shipping and HA for hosts