1983hotrod24's Profile User Rating: -----

Reputation: 0 Apprentice
Group:
Members
Active Posts:
15 (0.01 per day)
Joined:
16-January 08
Profile Views:
3,537
Last Active:
User is offline Oct 12 2011 06:04 PM
Currently:
Offline

Previous Fields

Dream Kudos:
0

Latest Visitors

Icon   1983hotrod24 has not set their status

Posts I've Made

  1. In Topic: Please help on User class error. Project displays input.

    Posted 26 Sep 2011

    Alright.....I FINALLY got it all working. Thank you for the help eclipsed :bananaman:
  2. In Topic: Please help on User class error. Project displays input.

    Posted 23 Sep 2011

    Thank you for your help so far. I have had a long day and will continue this programming fiasco in 7-9 hrs, after a lil sleep. :zzz:
  3. In Topic: Please help on User class error. Project displays input.

    Posted 23 Sep 2011

    Now it does not like the member names having the same name as their enclosing type? :helpsmilie:

    The current code for the User class with the member names should not have the same name as their enclosing type?:

    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using System.Text.RegularExpressions;
    
    
    namespace Project1RCH
    {
        class User
        {
           //A user function to call all validated input from the three other classes.
           public string User(Name name, EmailAddress EmailAddresses, PhoneNumbers phone)
           {
                //Pointing to new variable names.
                this.name = name;
                this.emailAddresses = EmailAddresses;
                this.PhoneNumbers = phone;
            }
        
           public string ToString()
           {
               //Building the output for the string.
               return String.Format("\n{0}\nEmail Address:\t{1}\nPhone Number:\t{2}", name.ToString(), emailAddresses.ToString(), phone.ToString());       
           }
        }
    }
    
    
  4. In Topic: Please help on User class error. Project displays input.

    Posted 23 Sep 2011

    What are you saying? For every open parenthesis, there is a closing parenthesis. Is there not?

    I found the extra bracket, thank you :w00t:
  5. In Topic: Please help on User class error. Project displays input.

    Posted 23 Sep 2011

    I forgot to include these libraries when I was copying the code for my classes over. Put this in the beginning of each file:

    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using System.Text.RegularExpressions;
    
    

My Information

Member Title:
New D.I.C Head
Age:
Age Unknown
Birthday:
Birthday Unknown
Gender:

Contact Information

E-mail:
Click here to e-mail me

Friends

Comments

1983hotrod24 has no profile comments yet. Why not say hello?