CodeSteps

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

C# – Modifiers – The virtual Modifier – Why virtual?

Through the series of Articles, we are discussing about Modifiers in C#. In this Article, we will discuss about virtual modifier. virtual modifier is used during the inheritance; deriving classes from it’s base classes. Why virtual is required? Consider two functions, with same name and different signature; for example, Display(String msg) and Display(int value). Assume, these two functions […]

Python – Access Modifiers – Private Name Mangling

There are NO Access Modifiers in Python. Yes, what you READ is CORRECT. Python doesn’t have any Access Specifiers defined. All the defined members can access from anywhere in the program, within the defined scope. Some of the Programming Languages (C++, Java, C# etc,.) provides private, protected & public access modifiers to define the access […]

PowerShell – Group-Object cmdlet – To Group Objects

When we display the list of objects using PowerShell commands, the objects will be displayed in specified format; for example, list format. For more readability, it is very useful to group the objects depending on their properties values. The Group-Object cmdlet PowerShell provides Group-Object cmdlet to group the objects based on their properties values. As this […]

Scroll to top