471,337 Members | 1,426 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,337 software developers and data experts.

is "params" working as expected

Hi, either I'm going mad or is params not working anymore in VS 2005?

I have function as follows
public tableEquipment[] ReadEquipment(bool ReadImages, params Int64[]
RecIDs)
{
}

if I call "tableEquipment equipment = myDatabase.ReadEquipment(false,
RecID);"
I'm getting a compiler error that "Error 1 Cannot implicitly convert type
Database.tableEquipment[]' to 'Database.tableEquipment' "

Apr 2 '08 #1
1 1212
omg, ignore me, brain didnt compute what the error message was telling me.
Reboot brain!
(should have typed "tableEquipment[] equipment =
myDatabase.ReadEquipment(false,
RecID);")
Apr 2 '08 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Peabody | last post: by
3 posts views Thread by Stan Huff | last post: by
9 posts views Thread by Hasan O. Zavalsiz | last post: by
6 posts views Thread by Luigi | last post: by
reply views Thread by rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.