Results 1 to 7 of 7

Thread: any C# programers in the building?

Hybrid View

  1. #1

    Default any C# programers in the building?

    i got $50 to anyone who can make this for me:

    [code] Create a web application with the same name as your last name. Change the name of the web form to your first name. Create a C# class named using your middle name.

    The C# class should contain the properties listed below. Each property must include a set and get method.

    C# class:

    Properties-initial value (set when the property is created, not when the object is created)

    FirstName- your first name

    LastName-your last name

    StudentID-your student ID #

    Height-your height

    EyeColor-your eye color

    HairColor-your hair color

    Web Form:

    Create two buttons one for each object created below. The buttons should display the name of the object that will be created.

    Create two instances of the class.

    1) The first instance is named with your first name, an "s", and the word "object". For example "stevesobject". This object does not pass any attributes when created. Save the object in a ViewState with the same name as the object.

    2) The second instance is named with your first name, an "s", the words "twinobject". For example "stevestwinobject". This object does pass attributes when created. The attributes are the following:

    FirstName-your name in reverse

    LastName-your last name in reverse

    StudentID-your ID number with one added to each digit (except for any number 9's)...for example...orginal ID number 90000015151 new number is: 91111126262.

    Height - add 2 inches

    EyeColor - same color as yours, but pass the value anyway

    HairColor - same color as yours, but pass the value anyway

    Save the object in an Session variable with the same name as the object.

    Create two additional buttons with "view" and the name of the objects. Such as "ViewSteve" and "ViewStevesTwin".

    These buttons will retrieve the object (either from ViewState or from the Session variable) and then display the complete information on the web form.

    Add one additional button. This button will display "Change" and the name of the first object. Such as "ChangeSteve". The code under this button must retrieve the object from ViewState, change the last name to "Smith", and then save the object back into ViewState again.

    Once you have completed the program, compress it[/code]


  2. #2
    ⎝⏠⏝⏠⎠ RandomGuy's Avatar
    Join Date
    Jan 2004
    Location
    GA
    Posts
    18,981
    Rep Power
    150

    Default

    i could do it

    but dude.... you're taking that class for a reason

    JUST LEARN IT MAN WTF

  3. #3
    2.0TRawr ironchef's Avatar
    Join Date
    Feb 2004
    Location
    Atlanta, GA
    Age
    38
    Posts
    8,414
    Rep Power
    34

    Default

    Concurred. That doesn't even look like a couple hours worth of work.

  4. #4

    Default

    yes its not very hard you are correct just seeing if anyone wanted to make $50


  5. #5
    resident honda hater redrumracer's Avatar
    Join Date
    May 2007
    Age
    39
    Posts
    11,983
    Rep Power
    34

    Default

    i wouldve done it but i just got done with that class and dont have a desire to do it anymore. switched majors...........................again

  6. #6

    Default

    thats cool


    offer is still standing


  7. #7
    Certified Gearhead
    Join Date
    Mar 2005
    Location
    Hiram, GA
    Age
    42
    Posts
    905
    Rep Power
    21

    Default

    Why bother if your not even going to try and learn and do it on your own. Your time would be better spent getting a jump on learning what the time on the fries is at some fast food joint. Cause bitching out on your school work is gonna land you there.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
ImportAtlanta is a community of gearheads and car enthusiasts. It does not matter what kind of car or bike you drive, IA is an open community for any gearhead. Whether you're looking for advice on a performance build or posting your wheels for sale, you're welcome here!
Announcement
Welcome back to ImportAtlanta. We are currently undergoing many changes, so please report any issues you encounter with the site using the 'Contact Us' button below. Thank you!