How to do this in C#


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: How to do this in C#

  1. #1
    Join Date
    Sep 2004
    Posts
    56

    How to do this in C#

    Dear all;

    I Have code in VB6 like this

    Public Type AccessData
    AllowAccess As Boolean
    AllowAddNew As Boolean
    AllowUpdate As Boolean
    AllowDelete As Boolean
    AllowPrint As Boolean
    End Type

    Does any know how to write in c#?

    TQ

  2. #2
    Join Date
    Nov 2003
    Location
    Portland, OR
    Posts
    8,387
    Code:
    public struct AccessData
    {
        public bool AllowAccess;
        public bool AllowAddNew;
        public bool AllowUpdate;
        public bool AllowDelete;
        public bool AllowPrint;
    }
    Phil Weber
    http://www.philweber.com

    Please post questions to the forums, where others may benefit.
    I do not offer free assistance by e-mail. Thank you!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center