Jump to content
informatica

dúvida em c#

Recommended Posts

informatica

no codigo abaixo, que palavra-chave tem de estar escrita em "keyword" para que o código em negrito faça sentido?

public keyword Point

{

public int x;

public int y;

}

public Point PoeNoEixoX(Point p)

{

p.y=0;

return p;

}

Share this post


Link to post
Share on other sites
ribeiro55

No código de cima? class?

Isto tresanda a trabalho de casa...


Sérgio Ribeiro


"Great coders aren't born. They're compiled and released"
"Expert coders do not need a keyboard. They just throw magnets at the RAM chips"

Share this post


Link to post
Share on other sites
informatica

sim class.

queria saber onde diz keyword o que devia la estar escrito para o codigo fazer sentido

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

By using this site you accept our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.