Skip to content

Tag: dotnet

Some quick translations, OO PHP to C#

So a recent project has facilitated me brushing up on my C# – so I thought I would share some basic translations of things that can be frustrating when you know the usual programming principles (object orientated programming), but not all the syntax. A quick couple of points to note: C# is a strictly typed language, that means you have to know about what your variables are going to be, and yes, you have to declare them somewhere sensible Accessing methods and properties within your class does not require usage of $this – you’re talking about true scope of variables…

Leave a Comment