Professional Documents
Culture Documents
Lab Assignments: Console Application: Day 1&2 Assignment
Lab Assignments: Console Application: Day 1&2 Assignment
9.Write a program that will accept :ser$/ ;robert< and =assword ;hello< from user and if :ser$/ and =assword matches display the information about 1obert and if :ser$/ and =assword does not matches it should display message &$n alid $/ or =assword). >.Write an application that reads a string and determines whether it is a palindrome. Day2 1.Create a property and set their alues ;integer< on condition that they should not be Also Create read only property and write only property also.
negati e.
2.WA= that create a structure as person with three fields ?irst name( Last name ( age and a parametric constructor to accept the alues from users. /isplay the output.