CodeSteps

Python, C, C++, C#, PowerShell, Android, Visual C++, Java ...

Microsoft Project – Understanding Task types

Microsoft Project uses Task types when scheduling the project. Task types are important to understand, to understand how the Project deals with different fields when scheduling the project. One important thing to remember is, Task types apply to Automatic Scheduled tasks only. Fixed Duration, Fixed Units and Fixed Work are three different Task types, we […]

PowerShell – Scripts and Defining Parameters

So far we have discussed about PowerShell cmdlets; and we have discussed these commands with working examples. The commands were executed at the PowerShell command window. Does it possible to add these commands to a file and execute them from the prompt? Yes, this is where Scripts comes into the picture. PowerShell Scripts Scripts are […]

Microsoft Excel – Rounding Numbers to the Specified number of digits

We have discussed rounding the numbers using CEILING and FLOOR functions through my previous Article “Microsoft Excel – CEILING and FLOOR functions“. Excel provides another set of functions; provides a similar kind of functionality to round the numbers. Through this article, we are going to discuss these functions. ROUND, ROUNDUP and ROUNDDOWN functions in Excel […]

Understanding Constructors and Destructors in Python

In Python, constructors and destructors are special methods used to initialize and clean up objects of a class. Constructor: __init__ Method The constructor in Python is defined using the __init__ method. It is automatically called when a new object of the class is created. For example, # Vehicle.py class Vehicle: def __init__(self, type, color): self.type […]

PowerShell – Automatic Variables – $HOST, $HOME, $PWD and $ERROR

PowerShell provides another set of Automatic variables to allow us to get the information about the home directory, present working directory, host details, and error details. In this article, we will discuss these variables. The $HOST Automatic Variable This variable contains the current host application object for PowerShell. Below displays the details of the host […]

C# – How to use string interpolation?

String interpolation is useful to create formatted strings in a more readable form. C# uses the symbol “$” to represent the given string as an interpolated string. String interpolation allows us to use the variables within the string, and variables will be replaced with the actual values at the time of execution. This gives better […]

Scroll to top