Remember again about Classes

We define classes how groups of objects than they are grouped for have equallities of comportment and features and of differ structure of data, because they can duplicates and inherit forming the new classes.
For understanding the classes, we consider the need of to create a object CARRO, will list the features of a CARRO :

Name of object: Carro (model)
Features: Cor, marca (attributes)

Now, we see how declare a class in C#:

Class Carro
Public sCor As String
Public sMarca As String
End Class
But a class of will care all details of a car will are more very complex, it will have details of tires, engine, opcionals. For this, there is a inherited and the polymorphism for to easy the creation of new objects. See:

Class Pneu
Public iTamanho As Integer
Public iLargura As Integer
End Class

Class Carro
Inherits Pneu

Public sCor As String
Public sMarca As String
End Class

Class Caminhao
Inherits Pneu

Public sCor As String
Public sMarca As String
End Class

Class Onibus
Inherits Pneu

Public sCor As String
Public sMarca As String
End Class

Font: http://www.csharpbr.com.br/Portal/VisualizarArtigo.aspx?Artigo=64

How to choose a broker to invest

You pass the order of sale and the company – more specifically your broker – runs. Therefore, the choice of broker may influence the whole experience then the short and medium term.

Ask:

She is a member of the Bovespa?

Look for a broker between the various members who are on the Bovespa. If any company the search, check first whether it is part of the list.

What is the minimum to register?

Not all brokers operate with low and certainly all operate with high values. But it is certainly with a little research, you will find a perfect quality for your profile.

What are the costs?

Each broker has a different cost policy. Look for one that fits your profile. I chose the 2% levy on the movement of securities for sale to R $ 498.62 and the rate drops to the limit of 0.5% in that values ​​approaching £ 3029.

These percentages are important, if at all – in my case – I have an income below 2% at some point, this is not enough to be worth I sell the stock that resulted.

A fictional example:

At one point, some of my shares worth $ 100 rose 2%. Now I have $ 102. If I sell them, the broker will get £ 2.04.

Hey! That was my profit!

Got it?

Be aware that some brokers give up and keeps a percentage of the value set very low which may seem advantageous at first, but charge a flat monthly fee, a custody fee of shares or a dormant account fee – for those who want long term investing is not advantageous. The cheap can be expensive.

Which member of the bureaucracy of a broker?

It is much easier and faster to open an account at a bank (But of course you will have already have a bank account). In fact it is so easy you’ll wonder why you did it before and continues with interest of less than 12% per year in savings and having to face the queue.

Font: http://iniciantenabolsa.com/como-escolher-uma-corretora-para-investir-na-bolsa/

Diversify is the best way

Let’s start talking about savings, besides giving you money every year, still sets over the years.

Savings is an investment for long periods, so a person with conservative profile does not have to worry about selling stock, just buy the market to build a heritage with the only concern to choose a company that pays enough dividends, based 10% per year .
If your profile is more aggressive, take risks and higher rewards, buy and sell stocks projecting an expected profit. Analyzing s recent deals closed and the trend of high or low, we define whether other investors are more likely to buy or sell.

Finally, the ideal is you have a stable portfolio, where there are profits but long-term portfolios and other risks and higher dividends where you can achieve great gains to follow the market.

Even more !

Words reserved in C# (Keywords)

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  

Decision Making: Equality and relational operators

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

Why save to invest?

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.

Better understand the syntax of C

To program in C you need to follow some rules for the correct construction. Rules Work for functions, expressions, statements and types:

  • Types are the properties of the data used in a program.
  • Explanations are parts of the program where they give meaning to an identifier, allocating space in memory, define roles.
  • Functions are actions that a program must meet as running. The union of the various functions are basic operational entities in C.
  • Determination and modification of values, are called I / O functions defined by expressions.

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.