ill start by saying, ive just picked up C# after doing a bit of VB6 and VB.net, C# seemed a more attarctive language to learn, something my college seems to disagree with. (still using VB6)
i know that in std C# coding i can make a list like this: (where shout is a Class with 3 Vars)
List<Shout> ShoutData = new List<Shout>();
im creating a Shout box, kind of thing; it's more of an experiment, but im going to add it to my site when it done : ) i would use an array but i dont want to cap the amount of items in the list/array.
anyway when i add that declaration into a aspx.cs file it doesnt compiler as Visual Studio c# does. i was wondering why, and if there is a work around? or am i just doing something wrong?
im running Visual Web Dev 2008
also while im here is ther anyway of getting VWD to recognide CSS 3? becasue i don't like how it reports my CSS as an error, even though IE7, Fx & Opera will hapily render it, (it in this case is a opactity), i dont really care if i broswer cant support it as it not nessary it just look nice.
thank you very much, dobby156.
BTW i like the Office style Forum code entry
dobbyPosted May 21, 2008, 6:30 AM
thanks for the reply, i checkedotu thatlink, which wasdead,but that was becasue of the ending .aspxul?, i got rid of the ULand got page i think you were talking about. it was useful thanks, way more advance than what im doing, but it told whati need, which was the generic collection need to be added.
IE:
using system.collections.generic;
after that, i was able to to makea list anduse it functions.
thank you very much.
dont suppose anyone knows how you can get Visual web developer to recognise CSS 3.0?
Dipal ChoksiPosted May 21, 2008, 2:04 AM