How To Pass Class As Params to Function

Posted by Asim Sajjad on Stack Overflow See other posts from Stack Overflow or by Asim Sajjad
Published on 2010-04-13T07:04:44Z Indexed on 2010/04/13 7:13 UTC
Read the original article Hit count: 718

Filed under:
|
|

How can I pass the Parameter to a function. for example

 public void GridViewColumns(params ClassName[] pinputparamter)
 {
 }

and Class is as given below

public Class ClassName
{
     public string Name{get;set;}
     public int RecordID{get;set;}
}

can anyone has idea?

© Stack Overflow or respective owner

Related posts about c#

Related posts about params