1 2 3 4
this is customer class using System; ...
C# help on refactoring this code
1 2 3 4
using System; using System.Collections.Generic; using System.Linq; ...
C# ASP.NET MVC List Helper
The idea behind this helper...
1 2 3 4
public class EngGetCalculatedTaskField { private static TaskMaintenanceDataDataContext engTaskCtx { get; set; } ...
C# How can i use generic class...
i want to use generic cla...
1 2 3 4
public void LoadById(string SearchItem) { var myTechnicTasks = engTaskCtx.Tasks.Where(task => task.MyTechnicReference.StartsWith(SearchItem)).Select(task => new MyTask() ...
C# How can i shorter my linq c...
hi; i try to run my codes. ...
1 2 3 4
private static HumanResource CompressTimesheetItems(HumanResource employee) { List<TimesheetItemObject> CompressedTimesheetItems = new List<TimesheetItemObject>(); ...
C# Merging similar objects
Our reporting program uses ...
1 2 3 4
Type type1 = SomeMethodThatReturnsAType(); Type type2 = SomeOtherMethodThatReturnsAType(); ...
C# C# Dynamic casting?
How can I make this work?
1 2 3 4
decimal total = 0.00m; char Base; ...
C# HELP: How to use a try-catc...
I don't know how to insert ...
1 2 3
<?xml version="1.0"?> <Node1 ...
C# Formatting XML
I have an unformatted XML s...
1 2 3 4
public class LoadDataset { public DataSet GetAllData(string sp) ...
C# How can i load dataset via ...
i try to write a winform ap...
1 2 3 4
using System; using System.Collections.Generic; using System.Linq; ...
C# How can i refactor theese c...
How can i refactor theese c...
1 2 3 4
using System; using System.Collections.Generic; using System.Linq; ...
C# How can i SRP princible in ...
i try to calculate triangle...
1 2 3 4
using System; using System.Collections.Generic; using System.ComponentModel; ...
C# New to refactoring: is my d...
Hi guys,
I am currently ...
1 2 3 4
using System; using System.Collections.Generic; using System.Text; ...
C# Firts time refactoring
Hello guys,
I working in a...
1 2 3 4
public class GenoTipController { public _Company GenerateCompany(DataModelType modeltype) ...
C# GenoTipController must pro...
GenoTipController must pro...
1 2 3 4
//============================================================================================================ /// A pathfinding matrix. //============================================================================================================ ...
1 2 3 4
public static class Hebrew { static Dictionary<char, char> mapper = CombineMappers( ...
C# Toggle Hebrew Chars
Many times when having a He...
1 2 3 4
// Stored procedure: IsItUnique
CREATE PROCEDURE [dbo].[IsItUnique]
...
C# SQL Server - Similarity Score
First of all I apologize fo...
1 2 3 4
public static class DisplayHelper { [DllImport("user32.dll")] ...
C# Extend my Windows desktop o...
Enables a secondary monitor
1 2 3 4
public static XmlNode ViewFields { get ...
C# XmlNode creation
Very simple piece of code w...
1 2 3 4
public partial class Attivazioni { public byte[] CodiceRichiesta ...
C# Properties surrounding arra...
Is there a better way to su...
1 2 3 4
public class TelnetParser { public event EventHandler<TelnetCommandEventArgs> Command; ...
C# Created a Telnet Parser wit...
So I've was just using TDD ...
1 2 3 4
public static string ToFormattedList<T>(this HtmlHelper helper, IList<T> objectList, ListType listType, Func<T, string> valueReturn) { ...
C# ASP.Net MVC HTML List helper
I wanted to display list fr...
1 2 3 4
private static bool SetFolderBasedOnFirstStatus(PurchaseOrder po) { bool documentFinished = false; ...
C# Two methods, two enums.
I have these two very simil...
1 2 3 4
public static byte[] ResizeImageFile(byte[] imageFile, int targetSize) { using (System.Drawing.Image oldImage = System.Drawing.Image.FromStream(new MemoryStream(imageFile))) ...
C# Image Resizing
I'm really trying to nail o...
1 2 3 4
private static void Log(object message, MessageType type) { string str = message.ToString(); ...
C# Line splitting optimization
This is a console logging f...
hi i need help in urgent to...