New course! Every coder should learn Generative AI!
Try a free lesson+ 1
Value of int 2 ___99,____5. Any one help me thanksssss
Call the method using named arguments with the values 5 for from', 99 for "to and 2 for "step" static int calc(int from, int to, int step=1) ( int res 0 forfint ifromietojeastep)( res + retun res static void Main(stringl args) int res 2__99,___5); Console.WriteLine(res);
2 Answers
0
Optional and name aurgments.
0
I don't understand your question. Please read the following thread to better understand how to post a question.
https://www.sololearn.com/Discuss/333866/?ref=app