Create a class which encapsulates what you need.

then simply

private List<MyNewClass> m_lstThings;

Although personally I'd avoid the Hungarian notation.

On Thu, Sep 18, 2008 at 8:46 PM, hasan <[EMAIL PROTECTED]> wrote:
>
>
>    /// <summary>
>    /// This attribute hold  menu's text/name
>    /// </summary>
>    private List<MenuItem> m_lstMenuItems;
>
>    /// <summary>
>    /// This property is used for menu items of a menu
>    /// </summary>
>    public List<MenuItem>MenuItems
>    {
>        get { return m_lstMenuItems ; }
>        set { m_lstMenuItems = value; }
>    }
>
> In this code only one attribute is used (m_lstMenuItems).
>
> If i want to use more then one attribute in the List, like-
> ID,Name,Email.......
>
> Then what will be the list structure.
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML Web 
Services,.NET Remoting" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://cm.megasolutions.net/forums/default.aspx
-~----------~----~----~----~------~----~------~--~---

Reply via email to