The Editor of the Star Gazers

# Algorithms: Linear Search

If you beginner in programming, you would probably want to practice your skills. When you do, you would see some coding challenges which is not easy to understand.

## Searching for a Specific Element in the Array (Linear Search)

Note: You can also use lists instead of an array, the process is exactly the same

You will use this algorithm almost every time. It basically, search for the specific element and check if it exists in the array or not.

# Understanding Time.deltaTime

Most of the people (including me) who start with Unity are having a problem with learning `Time.deltaTime.` To understand how it works, firstly, I will explain its definition. Then I will show a step-by-step example.

# Unity and Its Interface

Game Development is one of the most popular programming fields. When we want to make games and if we are new to programming, of course, we would not want to reinvent the game engine. Instead, we can use the engines which already exist. There are many game engines like Unity, Unreal Engine, Godot Engine, GameMaker and so on. One of the popular engines of these is the Unity Engine.

## Unity Engine

Unity is a game engine developed by Unity Technologies. …

# Complete Classes and Objects Tutorial

All of the programming languages which have Object-Oriented Programming (OOP) feature have classes and objects. We can think of a class as the blueprint for creating objects.

# 7 Useful Unity Attributes That Make the Inspector Easier To Use

When I am working with Unity, I have learnt some very useful attributes. For the first time, when I learnt them, I got surprised about how helpful they are. They help us in using the inspector easier, saving your time, and so on. For example, I have learnt the`Header` attribute that helps us to organize our variables in the inspector. Imagine, you have lots of variables and do not use `Header`, how messy they are going to seem! Fortunately, we have these kinds of stuff in Unity. …

# How to Override Methods in C#

Method Overriding, in Object-Oriented Programming, is a language feature that allows a child class to implement a method that’s is already is in the parent class. Implementation in the subclass overrides the implementation in base class by creating a method that has the same name.

CS0111: Type “Class_Name” already defines a member called “MyMethod” with the same parameter types

# But how can we handle this error ?

So, this is where Method Overloading would be useful. Basically, Method Overloading means “defining method with the same name in different forms.” They can be overloaded in 3 different ways:

• Having a different number of parameters
• Having different types of parameters
• Having…

# Arrays vs Lists in C#

## Introduction

Arrays and lists are the most used data structures in C# programming language. Both of them store data like integer, string, instances of the class, and so on. They seem very similar at first glance, but actually, they have some necessary differences which affect their usages. Depends on the situation we can prefer to arrays than lists or vice versa. In this blog, I am going to explain which one is better based on what we want to do.

## Arrays

Initially, let’s look at the Array’s definition:

## Elnur

Get the Medium app