Hi, this time I insert a video of C#. This video are about classes and objetcs, there is a example of how using in your program.
Byee, good training
Hi, this time I insert a video of C#. This video are about classes and objetcs, there is a example of how using in your program.
Byee, good training
Some words have special meaning for the compiler C#. These can’t are using how identifiers, at least that using the “@” before of same.
Ex.: @if is an identifier accepts, but IF don’t, because is an word reserved.
WORS RESERVED IN C#:
| abstract | event | new | struct |
| as | explicit | null | switch |
| base | extern | object | this |
| bool | false | operator | throw |
| break | finally | out | true |
| byte | fixed | override | try |
| case | float | params | typeof |
| catch | for | private | uint |
| char | foreach | protected | ulong |
| checked | goto | public | unchecked |
| class | if | readonly | unsafe |
| const | implicit | ref | ushort |
| continue | in | return | using |
| decimal | int | sbyte | virtual |
| default | interface | sealed | volatile |
| delegate | internal | short | void |
| do | is | sizeof | while |
| double | lock | stackalloc | Â |
| else | long | static | Â |
| enum | namespace | string | Â |
This section introduces C#’s if structure, wich allows a program to make a decision based on the truth or falsity of some condition. If the condition is met (i.e., the condition is true), the statement in the body of the if structures executes. If the condition is not met (i.e., the condition is false), the body statement does not execute.
| Standart algebraic equality operator or relational operator | C# equality or relational operator | Example of C# condition | Meaning of C# condition |
|
= |
== | X == y |
X is equal to y |
|
≠|
!= |
X != y |
X is not equal to y |
|
>Â |
>Â |
X > y |
X is greater than y |
|
< |
<Â |
X < y |
X is less than y |
|
≥ |
>= |
X >= y |
X is greater than or equal to y |
| ≤ | <= | X <=y |
X is less than or equal to y |
Sources:Â C# for experienced programmers – Deitel Developers series
Well .. to start is not easy and requires much discipline on your part.
First you must focus on what goals you want to achieve, then the priority of each and the initial capital.
While trying to save, show and those temptations … ask the question to yourself: “I really need this product?”
Many of the temptations appear in promotions, but it’s something you want but do not need. Focus on your main goals as a journey, a car, a house, a stroke. When investing the possibility of winning over the amount invested and thus make your money “grow ” is greater. For some personal goals only just leaving the savings, but today if I had invested the return would be higher.
Every investment has its risks too, so some people are so conservative in choosing investment. Be careful when choosing, in the next post I will put some information about the types of investments and their risks.
Hope this has been a little incentive to focus on their primary goals.
To program in C you need to follow some rules for the correct construction. Rules Work for functions, expressions, statements and types:
There are functions that are already defined in C library, as printf () andscanf (), which respectively mean write on the screen and read the data entered. Despite the existence of these functions in the library, programmer can also create your own functions, which perform calculations or other.
Every C program starts with the mandatory function main () The comments are expressed by / * and * /, which are ignored in the program. Every statement that is closed, shall be used ; (Semicolon) that ends the line of inquiry.
Example of a basic structure:
main () Â Â Â Â / * function binding * /
{
printf (“Text”);
}
It’s the same example used in the first post, but with further explanation.
What’s your goal when investing? buy a home, pay for college, provide a nest egg for the future? based on these answers, you can set a direction for your time and money that should keep the money invested as well.
The longer you have to reach your goal, the greater the risk, the longer the period, the less need for liquidity (liquidity is how quickly an investment can be converted into cash, that is, the higher the liquidity, the faster to convert the cash investment)
What are the risks? The risks depend heavily on the concept that each has about the same. But in general, not worry with all the fluctuations in the prices of investments. If you are more prepared for these fluctuations, invest in stocks as riskier equities.
How to make your money grow? The power that has the interest on your investments will make your money grow without any effort on your part, unless the saving. This situation favors and more countries with high interest rates, like Brazil. Not only the amount you invest that makes a difference, but also the frequency at which you apply the money.
Save your money to invest in something, it means open hand to present a spending spent more in the future, to have this attitude, you can win a battle, showing that their goal is achieved despite the obstacles.
Good start for all investment !
Hello, as well as the entire first program we do, this initial post has the same goal.
To begin, you must learn the logic, so they can learn a language.
We will not stick to any language now, so I will get a brief explanation of what we do to understand a program.
First, understand the language they’re seeing.
Second, you must follow the sequence correctly, because any misstep you miss the whole program.
Third, when you are in an early tip is to make the flow chart explaining all the flow you are following.
A sample program written in C:
# Include “stdio.h”                / / include the library
# Include “conio.h”                   / / include the library
void main ()Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â / / main function where the program starts
{
clrscr ()Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â / / Clears the screen
printf (“Hello World! “)Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â / / Display message on screen
}
To start and open the blog is just that.
Good luck to us all!