Razor create rows and columns of images.
- in C#
I needed to display a set of images in a number of columns. I need to have 4 images across the page and whatever number of rows of images down. I didn’t know exactly how…
a little philosophy in code
I needed to display a set of images in a number of columns. I need to have 4 images across the page and whatever number of rows of images down. I didn’t know exactly how…
I was creating an admin page to upload a pdf to a site. I had the following code and thought it was ok. I figured that I needed a relative path to put the pdf…
Traverse an array in reverse using modulus. Have you ever needed to traverse an array in reverse? Traversing an array is pretty easy to do using a “for” loop or even a “foreach” loop. The…