How to transpose rows into columns and columns into rows in
a multi-dimensional array ?
Answer / kalpana
int [,]array=new int[2,2] {{1,2},{3,4}};
transpose of the array is
for(int i=0;i<2;i++)
{
for(int j=0;j<2;j++)
{
Console.Write("{0} ",a[j,i]);
}
}
o/p : 1 3
2 4
Is This Answer Correct ? | 1 Yes | 1 No |
Define static function?
How to Page Execute in asp.net(inside browser)
Explain login controls.
how to write code for role based security
Various types of Page Load functions
Define an assembly?
Give an example of what might be best suited to place in the application_start and session_start subroutines?
What is caching? Explain.
In the Repeater control which way you can edit?
When maintaining session through Sql server, what is the impact of Read and Write operation on Session objects? will performance degrade..
3 Answers Allsec Technologies,
What is a Windows Service and how does its lifecycle differ from a "standard" EXE?
Explain cashing in asp.net.