Problem I have the following method that is responsible for retrieving an Item from the database. There will be multiple […]
Tag: .net
Streaming a Pin functionally(ish)
Problem Earlier today I wrote a question (Validating a StreamingPin) and I thought it was a good idea (apparently I […]
Method that fetches rows from database and maps it to a Model class with SqlDataReader
Problem So, I have a project that has a lot of methods that look alike. In the below method as […]
Remove extra spaces from a string without using Regex or any internal library methods
Problem The objective is to remove extra spaces from the below string: ” Today it is going to rain. ” […]
Reg expression for finding expression in sentence
Problem I have a regular expression that match the string that contains the word “duration”, followed by a < or […]
Retrieving context menus from the form
Problem I have the following code which is a private method inside the form and retrieve all context menus from […]
Optimize a regex validating a version string
Problem I develop an application which installs updates. These updates have a version id (this version id is created as […]
How to make this code follow Solid Principle C# [closed]
Problem Closed. This question is off-topic. It is not currently accepting answers. Missing Review Context: Code Review requires concrete code […]
OOP methods/functions that can return a value or an exception
Problem I’m currently working through a series of bugs in an application. Our application is written in C#/ASP.NET (on the […]
Caling AJAX Method for multiple hidden ids aspx
Problem I am calling a ajax method for a number of hidden client ids on an aspx page. The ajax […]