Answer:
first one is "int" second one is "string" and third one should be "float"
Explanation:
not sure if the first one is right but try this.
Explanation:
1. special key combination that causes specific commands to be executed typically shortcut keys combine the ctrl or alt keys with some other keys.
2. 5 example of shortcut keys are:-
- 1. ctrl + A - select all
- 2.ctrl + B - bold
- 3. ctrl + C - copy
- 4. ctrl + U - under line
- 5. ctrl + v - paste
3. (i) open the start menu
(ii) open Windows task manager
(iii) close the currently active program
(iv) replace
(v) align center
4. the three importance of shortcut keys are :
- efficient and time saving :- using shortcut make you more efficient at doing certain task on your computer .
- multi-tasking :- being a multi Tasker is something required in life.
- health benefit :- cutting down on your mouse usage by using keyboard shortcut can help reduce the risk of RSI (Repetitive Syndrome Injury).
5. shortcut keys are very helpful because it take less time. keyboard shortcuts are generally used to expedite common operation by reducing input sequence to a few keystrokes.
Answer:
Reference
Explanation:
The Reference type variable is such type of variable in C# that holds the reference of memory address instead of value. Examples for reference type are classes, interfaces, delegates and arrays.
We can pass parameters to the method by reference using <em>ref </em>keyword
It’s mandatory to initialize the variable value before we pass it as an argument to the method in c#
For example,
int x = 10; // Variable need to be initialized
Add(ref x); // method call
If you pass parameters by reference in method definition, any changes made to it affect the other variable in method call.
Here's a sample program:
using System;
namespace ConsoleApplication
{
public class Test
{
public static void Main()
{
int i = 10;
Console.WriteLine("i=" + i);
Add(ref i);
Console.WriteLine("i=" + i);
Console.ReadLine();
}
public static void Add( ref int j)
{
j = j + 10;
Console.WriteLine("j="+j);
}
}
}
Output:
i=10
j=20
i=20
In Windows a (real) backslash is a path separator. The % is involved with DOS variables.