Answer Posted / sathish
private void btnCalculae_Click(object sender,
System.EventArgs e)
{
string str =txt1.text;
int fact=1;
foreach char c in str
{
fact=convert.toint32(c)*fact;
}
txt2.text=fact;
}
| Is This Answer Correct ? | 4 Yes | 6 No |
Post New Answer View All Answers
Is there any sample c# code for simple threading?
Is string mutable in c#?
What is difference between throw and throws in c#?
what is a destructor?
in the nunit test framework, which attribute must adorn a test class in order for it to be picked up by the nunit gui?
Why delegate is used in c#?
What is disco?
Why do we use class in c#?
How is method overriding different from overloading?
Describe ado.net?
Why we use delegates in c#?
What is view state c#?
Are arrays value types or reference types?
Does main have to be static c#?
Differentiate between copy and default constructor.