Results 1 to 4 of 4

Thread: Need help converting from c# to .net???

Threaded View

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Aug 2006
    Posts
    734

    Need help converting from c# to .net???

    Hi guys

    I have never done c# before in my life and i have found some example code that i need for a project, but it is written in c#!!! So i was wondering if anybody could help me....i have tried a couple of c# to vb converters but what i get bak confuses me even more!

    Here's the c# code i have:

    Code:
    Private List<Viewport3D> _slaves;
    
    public List<Viewport3D> Slaves
    {
       get
       {
          if (_slaves == null)
              _slaves = new List<Viewport3D>();
    
              return _slaves;
       }
       set
       {
             _slaves = value;
       }
    }
    Thanks in advance for any help


    P.S Am using .net 3.0
    Last edited by Kimmy4; Feb 2nd, 2007 at 05:10 AM.
    If your problem has been solved then please mark the thread [RESOLVED].
    If i have helped then please Rate my post

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width