foreach (string Item in Request.Form)
Type is always the first part of the declaration in C#
On 10/17/07, mbelcher < AspNetAnyQuestionIsOk%40faroutcomputersystems.com">AspNetAnyQuestionIsOk
faroutcomputersystems.com>
wrote:
>
> I am converting a email parser I made in VB.NET to C#... I am stuck on
> this
> error:
> The type or namespace name 'Item' could not be found (are you missing a
> using directive or an assembly reference?
>
>
>
> The for each line is giving the error and I tired it a couple different
> ways.
>
>
> string Item;
>
>
>
> //foreach ( Item in Request.Form) {
>
> foreach (Item Val in Request.Form)
>
>
>
>
> Works in VB as:
>
> Dim Item As String
>
>
>
> For Each Item In Request.Form
>
>
>
> [Non-text portions of this message have been removed]
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
--
Dean Fiala
Very Practical Software, Inc
Now with Blogging...
http://www.vpsw.com/blogbaby
Microsoft MVP
[Non-text portions of this message have been removed]
.