ForumsProgramming ForumXNA (C#) and AS3 differences

1 4954
Carlytoon
offline
Carlytoon
324 posts
Nomad

Hi ^-^
I want to know some syntax differences of this Programming languages (C# and AS3) and some examples, you know, to understand it better.

  • 1 Reply
abarrow
offline
abarrow
22 posts
Nomad

There a lot of key word differences.
eg:
C# Parent : Child
AS3 Parent extends Child

Also there are a few major syntax differences.
eg:
C# public Parent(int a)
:base(int a){
}

AS3 public Parent(a:int){
super(a);
}

Also AS3 doesn't support operator overloads (except equals), doesn't have the virtual keyword and a few other small but important differences.

But overall the languages are quite similar.

Showing 1-1 of 1