Thread View: alt.pl.comp.lang.csharp
2 messages
2 total messages
Started by zurek
Sun, 25 Apr 2004 12:54
jak przekzac string[5] jako parametr funkcji?
Author: zurek
Date: Sun, 25 Apr 2004 12:54
Date: Sun, 25 Apr 2004 12:54
19 lines
1130 bytes
1130 bytes
tak jak w topicu
mam cos takiego:
public int test(string[5] max)
{
}
pozniej wywoluje
min2 = new string[5];
Baza.test(min2);
i nie dziala, ktos juz to moze robil? nie che przekazywac jako string[]
tylko jakos string[5]
Re: jak przekzac string[5] jako parametr funkcji?
Author: Kacza
Date: Sun, 25 Apr 2004 14:29
Date: Sun, 25 Apr 2004 14:29
17 lines
1181 bytes
1181 bytes
*zurek* napisaล(a): > public int test(string[5] max) Jezeli chcesz przekazac 5 stringow to tak public int test (string [] max) jezeli chcesz przekazac 5 element stringu to (chyba) przesylasz char jezeli chcesz przeslac 5 string z 5 elementowej tablicy to public int test (string max)... -- Pozdr, znowu Kacza ;) http://www.dsoft.xu.pl
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