🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: alt.pl.comp.lang.csharp
2 messages
2 total messages Started by adrin Fri, 30 Jan 2004 00:35
struct i tablice
#448
Author: adrin
Date: Fri, 30 Jan 2004 00:35
8 lines
857 bytes
jak przekonwertowac taka strukture z c do c#?
struct s
{
  BYTE tablica[16];
  WORD tablica2[8];
}

;) z gory dzieki za pomoc
Re: struct i tablice
#449
Author: Marthy
Date: Fri, 30 Jan 2004 12:44
28 lines
1341 bytes
mo�e tak:

public struct s
{
    public sbyte [] sb;
}

i w kodzie:

s ss = new s();
ss.sb = new sbyte[16];
...


Pozdrawiam

Marcin

U�ytkownik "adrin" <adrin2....@interia.pl> napisa� w wiadomo�ci
news:Xns94805E68191Badrin@193.110.122.80...
> jak przekonwertowac taka strukture z c do c#?
> struct s
> {
>   BYTE tablica[16];
>   WORD tablica2[8];
> }
>
> ;) z gory dzieki za pomoc
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads