Re: Converting arraylist to string array
From: Peter Rilling (peter_at_nospam.rilling.net)
Date: 02/18/04
- Next message: John Saunders: "Re: Roles in Authentication."
- Previous message: Chad Z. Hower aka Kudzu: "Re: Displaying a flowchart on the fly in a web page"
- In reply to: Andrew Banks: "Re: Converting arraylist to string array"
- Next in thread: Andrew Banks: "Re: Converting arraylist to string array"
- Reply: Andrew Banks: "Re: Converting arraylist to string array"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 18 Feb 2004 06:42:03 -0800
GetType is a method on the Object class and does not accept any parameters.
Try using "typeof" instead of "GetType".
"Andrew Banks" <banksy@nojunkblueyonder.co.uk> wrote in message
news:BHKYb.1919$BY4.18218101@news-text.cableinet.net...
> c:\inetpub\wwwroot\Consolejunkies\Global.asax.cs(71): 'string' denotes a
> 'class' where a 'variable' was expected
>
> "Rajiv R" <rajivraj007REMOVE-THIS@yahoo.com> wrote in message
> news:%237Ds1ti9DHA.1596@TK2MSFTNGP10.phx.gbl...
> > Hi Andrew,
> >
> > Could you post what problem you are facing?
> >
> > --
> > Cheers!
> > Rajiv. R
> > Rajspace.Org
> >
> > "Andrew Banks" <banksy@nojunkblueyonder.co.uk> wrote in message
> > news:MzKYb.1910$_e5.18427948@news-text.cableinet.net...
> > > Can anyone see aproblem with this line of code
> > >
> > > string rolelistarray = rolelist.ToArray(GetType(System.String));
> > >
> > > I'm getting a problem with the GetType(System.String) section
> > >
> > >
> >
> >
>
>
- Next message: John Saunders: "Re: Roles in Authentication."
- Previous message: Chad Z. Hower aka Kudzu: "Re: Displaying a flowchart on the fly in a web page"
- In reply to: Andrew Banks: "Re: Converting arraylist to string array"
- Next in thread: Andrew Banks: "Re: Converting arraylist to string array"
- Reply: Andrew Banks: "Re: Converting arraylist to string array"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|