Home
Virtual Image Printer DriverMiraplacid Publisher converts documents to images
Virtual Text Printer DriverMiraplacid Text Driver extracts text from documents
Miraplacid Data ViewerMiraplacid Data Viewer - access to internal structure of a binary file
Miraplacid Text ViewerMiraplacid Text Viewer - access to internal structure of a text file
Common:   Login | Rules of forum | Register
Management:  New topic | Close topic | Move topic | Delete topic
  

Miraplacid Forum >> Software Development >> passing arrays in C#Moderator:XMan

Author Topic:  passing arrays in C#
xarzu
Member

Email
posted 2008-02-07 15:41:34 Reply -Delete

How do I pass an array of integers to a method in C#?

Barbara
Member

From: AU
posted 2009-11-29 11:10:33 Reply -Delete

public void MyMethod (int[] param) {

}


int []myArray=new int[5];

MyMethod(myArray);

Your message:
Name, password:
Go to category:  

Technical Support

Copyright © Miraplacid, 2003 - 2015