We're a community of 1077K IT Pros here for help, advice, solutions, professional growth and fun. Join us!
1,076,063 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Start New Discussion Reply to this Discussion

Need your help with these

Hello guys, can you help me with this?

i want to have a username and a password saved in the args arrow and then the user will give a username and a password. I want to compare the two usernames and the two passwords. How can i achieve that?

Also, can you give me the algorithm for this product:

S=13715..*N, when the user gives a M number>0 and force N<=M

sorry for my english. Hope you can understand me....

2
Contributors
3
Replies
5 Hours
Discussion Span
1 Year Ago
Last Updated
4
Views
Freedom*
Light Poster
34 posts since Mar 2011
Reputation Points: 10
Solved Threads: 0
Skill Endorsements: 0

Create a class like "User", and create properties like Username, and Password. Then create a generic list<t>, where T will be your class name.
Create two classes like:

User u1 = new User(); 
u1.USerName = "name1"; 
u1.Password = "pass1";

//same do for user2 and then compatre them
Mitja Bonca
Posting Maven
2,561 posts since May 2009
Reputation Points: 642
Solved Threads: 486
Skill Endorsements: 13

is there another way to do it without the class and the list?

Freedom*
Light Poster
34 posts since Mar 2011
Reputation Points: 10
Solved Threads: 0
Skill Endorsements: 0

Tell me, what did you mean with "args arrow"?
And there sure are other ways to salve it.

I just dont get you issue completely.

Mitja Bonca
Posting Maven
2,561 posts since May 2009
Reputation Points: 642
Solved Threads: 486
Skill Endorsements: 13

This article has been dead for over three months: Start a new discussion instead

Post: Markdown Syntax: Formatting Help
 
You
 
© 2013 DaniWeb® LLC
Page rendered in 0.0587 seconds using 2.65MB