In C# the internal keyword can be used on a class or its members. Today I will show you how to use the internal accessibility level with members of the class. All types and type members have an accessibility level. The accessibility level controls whether they can be used from… Continue Reading C# – First steps with C# and .NET – part 029 .

A programming model which is mainly organized around the objects is called Object-Oriented Programming or the Programming named OOP. There are five basic pillars or concepts in OOP. Encapsulation Data Hiding Specialization Polymorphism Division of Responsibility Encapsulation is a process of binding data members (variables, properties) and member functions (methods)… Continue Reading C# – First steps with C# and .NET – part 028 .

The tutorial of today is about SOLID. There are three specific causes of change: adding new features, correcting faults, and restructuring code to accommodate future changes. This is the reason for the five design principles intended to make software designs more understandable, flexible, and maintainable known as SOLID. The SOLID… Continue Reading C# – First steps with C# and .NET – part 027 .

In today’s tutorial, I will show you how to draw a sprite on the MonoGame window. Use the utility to open the Content.mgcb file.

Add the sprite file using the Add Existing Item menu. I used the Fedora_logo.png file then build with the Build button. Add the following lines… Continue Reading MonoGame – Drawing a Sprite using Monogame.

An important element of a game is changing the resolution and switching the game to fullscreen. However, I would not like to complicate the tutorial so I will show you simply how to do this in MonoGame. First, create a new C# file and name it ResolutionChanger.cs, and add this… Continue Reading MonoGame – Changing the resolution.

In the last tutorial, I showed you how to instantiate a project in MonoGame. In today’s tutorial, I will show you how to create a file with a class and implement it in the basic project. Create a file in the folder named MyGame001 and rename this file ProblemReport.cs. Add… Continue Reading MonoGame – Use a new class in the base example.

Today I started a new series of tutorials for those who follow this website related to C# programming and the .NET library called MonoGame. The official website comes with many tutorials and information and documentation. MonoGame is a simple and powerful .NET library for creating games for desktop PCs, video… Continue Reading MonoGame – Install and first test on Fedora 33 distro Linux.

This tutorial will briefly introduce you to the term and features of C-Sharp Generics. The word Generic means not specific. The C# programming language allows users to define classes, methods, static methods, interfaces, abstract classes, properties, events, delegates, and operators. The feature of C# defines classes and methods without defining… Continue Reading C# – First steps with C# and .NET – part 026 .

Translate »