c# - '>' Symbol during function declaration? -


So until I want to make a simple PAC-man clone by December, I currently read myself in C # The command to use the XNA Game Studio 3.1, which I get easily available, along with documents available in the future as well as getting the best answer in the future

Anyway, The problem is that I am reading a book which comes from a book Oh has been declared as:

  public void TransformVectorByReference () & gt; I believe internal is not important because the compiler function is complaining about the '> `symbol on declaration. However, many tasks are declared this way and they are throwing all kinds of errors: 

; Expected

Can anyone tell me what this function does / points to the previous SX because I can not find any answer through search because I do not know that I What to call is ridiculous thing

Sam got this code snippet from Microsoft's XNA Game Studio 3.0. If anyone has any other better options for this book, then I would be most happy to see him.

Edit:

I have added an example function to three-five tasks, which are almost identical, but use a> keyword However, it was reported that this could not be the mistake of the author, but the way book / error-correction was done

  Public Zero Transforms VectorBerry Reference () {matrix rotation matrix = matrix . Create Rotation Y (Methyl. ToRadians (45.0 F)); // Create a vector pointing towards the camera facing direction. Vector 3 changed references; Vector 3 Transforms (ref camera refraction, ref rotation matrix, out transformed references); // Calculate the position at which the camera is visible vector 3. Addition (referee camera position, referee transformer, out camera target); } Public Zero Transform Vector Variation and Auto ()> {Matrix rotation matrix = matrix. Create Rotation Y (Maththeller Trouadia (45.0F)); // Create a vector pointing towards the camera facing direction. Vector 3 changed references; Vector 3 Transforms (ref camera refraction, ref rotation matrix, out transformed references); // Calculate the position on which the camera is looking for. Vector 3. Addition (Ref CameraPosition, Ref Transformer, Out Camera Target); } 

This> is incorrect and it should be removed.


Comments

Popular posts from this blog

Eclipse CDT variable colors in editor -

AJAX doesn't send POST query -

wpf - Custom Message Box Advice -