C# Passing values between namespaces

Discussion in 'C#' started by deepak_1706, Oct 1, 2010.

  1. deepak_1706

    deepak_1706 New Member

    Joined:
    Oct 1, 2010
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    I've just started programming in c#, its a simple Forms application with single form.
    I have a class written in a separate .cs file in its own namespace.

    The rest of the code is in the Form1.cs file.
    I am able to create an instance of the my class and use it in Form1.

    My Problems...
    1. 1.Form1 contains an array of type char which need to use in the object instance.
    2. 2.I need to access the text field of the Form from within member function of the object
      instance.
    Not sure which code sample to give u here...
    I would appreciate any help provided,
    thanks:)
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice