Eric Sjöström Jennerstrand

Litium E-commerce, C#, .NET MAUI, Javascript, React, Azure, Git. .NET, Node and more!
C Sharp

Foreach loop in C# – Simple use

Foreach loop in C# – SimpleForeach is in my opinion the best way to iterate a List of objects in C# and it’s super logical. On the left side of the declaration you have what is inside the List. And on the right side you have the List. Like this: As you see above, we
C Sharp

For loop in C# – Simple how to use

For loop in C# – Simple how to useFor is in my opinion one of best way to iterate a List/Array of objects in C#. When you need to keep track on what row in the iteration you are on. There are 3 parts of the For loop declaration, the “counter”, the break expression, and
Docker

Cannot Enable Hyper-V Service

Quick Read Open programs in Windows Settings. Click program and functions. Click Activate or deactivate Windows-functions. Deselect Hyper-V and all child nodes. Restart computer. Select Hyper-V and all child nodes. Restart computer. The error “An Error Occurred – Cannot Enable Hyper-V Service” is a common error on Windows. And if you are unlucky, like me.
Node JS Logo

How to install Node on Windows

It’s easy to install Node on Windows, it goes fast and requires only two steps, if you don’t have NodeJs installed before. If you have Node install already and need to change Node version or updated it, check out this guide How to change Node version on windows. Install Node To install Node on Windows
C Sharp

Reverse FOR loop in C# – A quick look

The reverse FOR loop in C# are useful if you need to iterate a List or array backwards. Without first having to reversing it, which can be time and memory consuming. Therefore, by using a reversed FOR loop you can traverse a list, array or string backwards in a simple way. So if you take