Tech
Forums
Jobs
Books
Events
Live
Interviews
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
3
Reply
pass the string parameter in method ...
krishna angirekula
Feb 21 2014 12:26 AM
987
Reply
public string random1()
{
string fn = txtfname.Text;
string ln = txtlname.Text;
string strPwd = "";
Random rnd = new Random();
for (int i = 0; i <= 1; i++)
{
int iRandom = rnd.Next(0, fn.Length - 1);
strPwd += fn.Substring(iRandom, 1);
}
return strPwd;
i want pass 4 arguments in that method
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
3
)
Next Recommended Forum
unnsafe mode
How structures inheriting from value types