C# KEYWORD AND ITS MEANING BASICs
c# keywords
Keyword
|
Meaning
|
To print
|
|
To accept/take values
|
|
To accept/take values/character
|
|
void
|
When method return nothing
|
null
|
To declare any string null means string having no
character.
|
To declare an integer variable ( value
type)
|
|
To declare a double float variable ( value type)
|
|
decimal
|
To declare a decimal variable ( value type)
|
long
|
To declare long integer variable ( value type)
|
To declare character variable ( value
type)
|
|
object
|
To declare an object variable (Reference type)
|
Used for returning true or false result only
|
|
int [ ]
|
integer array
|
float [ ]
|
To declare a float variable (prefix, f)
|
double [ ]
|
To declare a double float array variable
|
decimal [ ]
|
To declare a decimal array
variable
|
long [ ]
|
To declare long array integer variable
|
String [ ]
|
To declare string array variable
|
char [ ]
|
To declare character array variable
|
Object [ ]
|
To declare an object array variable
|
To perform power calculation of numbers
|
|
Math. Sin
|
To perform sin calculation of numbers
|
Math. Cos
|
To perform cos calculation of numbers
|
Math. tan
|
To perform tan calculation of numbers
|
Math. Asin
|
To perform arcsin
|
Math. Acos
|
To perform arccos
|
To perform arctan
|
|
For the value of pie
|
|
Math. Ceiling
|
To find ceiling of any decimal number
|
Math. Floor
|
To find Floor of any decimal number
|
Math. Log10
|
To find log of any number
|
Math. Max
|
To find the maximum values from two values
|
Math. Min
|
To find the minimum values of from two values
|
class
|
To declare a class
|
To make a class partial so it can be reuse
|
|
Sealed class
|
To declare a class sealed
|
To override an existing method/member of class
|
|
To declare static class/class member/
|
|
For enum declaration
|
|
To make a class/ class member/variable etc. private
|
|
For using an action delegate
|
|
For using a func delegate
|
|
For using predicate delegate
|
|
To. Lower
|
To change the string case in lower case
|
To. Upper
|
To change the string case in upper case
|
Str. Length
|
To check or find the length of string
|
. Parse(dot
Parse)
|
To change string input into relevant data type
|
value f
|
F suffix with value to clarity the value as Float type
|
Get accessor used to getting values
|
|
set
|
Set accessot used to set values
Give different meaning in different states
To define structure
To define an interface with name 'I'
|
SYMBOLIC KEYWORD AND MEANING IN C#
C# fixed keywords
Symbol keyword
|
Meaning
|
=
|
Assignment operator, to assign values to variable
|
= =
|
Equal operator
|
! =
|
Is not equal operator
|
>
|
|
<
|
|
> =
|
|
< =
|
Smaller than equal to operator
|
[ ]
|
Array representation
|
+
|
For add number and join strings
|
-
|
For find subtraction
numbers
|
*
|
For find multiplication numbers
|
/
|
For find divide numbers
|
%
|
For find modules of numbers
|
//
|
For comment a single line
|
/*
|
Starting commenting blocks of statement
|
*/
|
Ending commenting block of statement
|
\n
|
To end a statement and start from a new line
|
\t
|
To spacing in message in WriteLine (“\t”)
|
{ }
|
Format specifier/ opening and closing body
|
“ ”
++
- -
&&
||
!
|
To write string words/sentence
|
BASIC SHORTCUT KEY IN C#.NET
Shortcut
|
Function
|
Ctrl + N
|
To open a new file window
|
Ctrl + Shift + N
|
To open a new project
|
Ctrl + Shift + A
|
To add item in a project
|
Shift + Alt + A
|
To add existing item
|
Ctrl + O
|
To open an existing file
|
Ctrl + S
|
To save running project
|
Alt + Enter
|
To open property window of project
|
Ctrl + Shift + B
|
To build solution x
|
Ctrl + Shift + S
|
To save all opened project
|
Ctrl + C
|
To Copy source code
|
Ctrl + X
|
To cut source
|
Ctrl + V
|
To paste the source code
|
Ctrl + Z
|
To undo an action
|
Ctrl + Y
|
To redo an action
|
E
|
To see error list
|
backspace key
|
To delete character
to left of cursor
|
Del key
|
To delete character to right cursor
|
Ctrl + del
|
To delete a word to right of cursor
|
Ctrl + backspace
|
To delete a word to the left of cursor
|
Ctrl + D
|
To make duplicate of selected code
|
F5
|
To start debugging
|
Ctrl+ F5
|
To start program without debugging
|
0 comments:
Post a Comment
Please do not enter any spam link in the comment box