Answer:1. MsgSent.Text = Msg.Text;
How you can change the page title by changing the using C#
1.void buttonSet_Click(Object sender, EventArgs earg)
{
Header.Title :Msg.Text;
}
2.void buttonSet_Click(Object sender, EventArgs earg)
{
Msg.Text= Header.Title;
}
3.void buttonSet_Click(Object sender, EventArgs earg)
{
Msg.Text: Header.Title;
}
4.None
Answer:1.void buttonSet_Click(Object sender, EventArgs earg)
{
Header.Title :Msg.Text;
}
User Name:Reshu
Date:13.03.10
Question :using System;
class R4R
{
static void Main( )
{
int x = 10;
int y;
y = x++;
int xy = x > y ? x : y;
Console.WriteLine("output: {0}, {1},{2}", x,y,xy);
}
}
1. output: 10, 10,10
2. output: 11, 10,10
3. output: 11,10,11
4 none
Post Your Answer
Answer:3. output: 11,10,11
User Name:Rajesh Kumar
Date:11.03.10
Question :using System;
class R4R
{
static void Main( )
{
int x = 10;
int y;
y = x++;
Console.WriteLine("After postfix: {0}, {1}", x,
y);
x = 20;
y = ++x;
Console.WriteLine("After prefix: {0}, {1}", x,
valueTwo);
}
}
1.After postfix: 11, 10
2.After prefix: 21, 21
3 both
4 none
Post Your Answer
Answer:3 both
User Name:Rajesh Kumar
Date:11.03.10
Question :using System;
class R4R
{
static void Main( )
{
int x = 10;
int y;
y = x++;
Console.WriteLine("After postfix: {0}, {1}", x,
y);
x = 20;
y = ++x;
Console.WriteLine("After prefix: {0}, {1}", x,
valueTwo);
}
}
1.After postfix: 10, 10
2.After prefix: 20, 20
3 both
4 none
Post Your Answer
Answer:4 none
User Name:Rahul
Date:11.03.10
Goto Page:
1 2 3 4 5
C# Objective
C# Interview Questions And Answers
C# Interview Questions And Answers
C# Subjective Questions And Answers
R4R,C# Objective, C# Subjective, C# Interview Questions And Answers,C#,C# Interview,C# Questions ,C# Answers