Please tell me how to call a (.cs) file in c# application.please provide me with an example.as i am trying to import that class file but i don 't know how to call it in my code behind file.please help me.
Step 1 .Create a .cs file (Hope u didnt get any problem)
Let us suppose that u create UtilityInfo.cs and add it to app Code folder
Step2.
At ur Page load event Create the instance of ur .cs file as
UtilityInfo utf =new UtilityInfo();
Step 3.
If u want to call any function from that cs file u just to write
utf.functionname(function parameter)
End
U have done it ,any prom shoot me a reply