Click here to Skip to main content
15,917,608 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
How to get the 2 raised power of selected index of listbox...i`m getting selected index value,please provide me power method to calculate 2 power selectedindex value..
Posted

1 solution

System.Console.WriteLine(Math.Pow(2,8));
 
Share this answer
 
Comments
Mukunda Raj 7-Dec-11 10:31am    
in my lstbox_selectedIndexChanged method,im passing index value to literal.

Literal1.Text=Lstbox.SelectedIndex.ToString();

Could you please alter the same for pow method?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900