Click here to Skip to main content
15,860,859 members
Home / Discussions / C#
   

C#

 
AnswerRe: Efficiency of if versus assignment statements [Modified] Pin
Luc Pattyn22-Jul-08 8:15
sitebuilderLuc Pattyn22-Jul-08 8:15 
QuestionApplication Deployment Pin
BlitzPackage22-Jul-08 6:43
BlitzPackage22-Jul-08 6:43 
AnswerRe: Application Deployment Pin
Garrett Pauls22-Jul-08 7:02
Garrett Pauls22-Jul-08 7:02 
GeneralRe: Application Deployment Pin
BlitzPackage22-Jul-08 8:05
BlitzPackage22-Jul-08 8:05 
GeneralRe: Application Deployment Pin
Garrett Pauls22-Jul-08 8:25
Garrett Pauls22-Jul-08 8:25 
GeneralRe: Application Deployment Pin
BlitzPackage22-Jul-08 8:54
BlitzPackage22-Jul-08 8:54 
GeneralRe: Application Deployment Pin
selcuks24-Jul-08 21:04
selcuks24-Jul-08 21:04 
QuestionClass Cleanup Challenge Pin
lisad_tgc22-Jul-08 5:53
lisad_tgc22-Jul-08 5:53 
I was given the following class to C# clean up. It's a mess.

****
using System;


private enum sections
{
section1 = 1,
section2 = 2,
section3 = 3

}

namespace My.Name.Space{

public class UppperClass
{
abstract public void NoClass();

private string upper
public string Upper
{
get
{
Upper = value;
}
Put
{
return(Upper);
}
private void UpperDiv(interface number1, number2)
{
private int upperResult;
upperResult==number1/number2;
return result;
}
}
public class MiddleClass : UppperClass
{
UpperClass[] upperArray;
upperArray = new UpperClass[5];

for(int i=0; int<= upperArray.length; i+)
{
upperArray[int] = new UpperClass();
}
public void MiddleDiv()
{
int middleResult = 0;
int sumOfAllResults;
middleResult=UpperDiv(1,2);
sumOfAllResults= ++middleResult;
}
}
public class LowerClass : UpperClass
{
string lowerString;
private Boolean initialized = false;

public void LowerClass(int paramInt) //Base Method overload 1, return nothing
{
initialized=1;
}
public string LowerClass(int paramInt) //Base Method Overload 2, return string
{
lowerString = paraamInt.ToString;
return lowerString;
}
public override void NoClass()
{
MiddleDiv(3,4);
}
}
********
AnswerRe: Class Cleanup Challenge Pin
Anthony Mushrow22-Jul-08 5:56
professionalAnthony Mushrow22-Jul-08 5:56 
QuestionMultithreading and XML DOM Pin
Justin Time22-Jul-08 5:14
Justin Time22-Jul-08 5:14 
QuestionMouseMove event not firing for newly added control [modified] Pin
Michael Dausmann22-Jul-08 4:59
Michael Dausmann22-Jul-08 4:59 
AnswerRe: MouseMove event not firing for newly added control Pin
half-life22-Jul-08 7:50
half-life22-Jul-08 7:50 
GeneralRe: MouseMove event not firing for newly added control Pin
Michael Dausmann22-Jul-08 12:15
Michael Dausmann22-Jul-08 12:15 
AnswerThe Answer! Use Capture=false.. Re: MouseMove event not firing for newly added control Pin
Michael Dausmann22-Jul-08 13:56
Michael Dausmann22-Jul-08 13:56 
QuestionIs it possible to make this routine automatic? Pin
But_Im_a_Lady22-Jul-08 4:53
But_Im_a_Lady22-Jul-08 4:53 
AnswerRe: Is it possible to make this routine automatic? Pin
Luc Pattyn22-Jul-08 5:25
sitebuilderLuc Pattyn22-Jul-08 5:25 
GeneralRe: Is it possible to make this routine automatic? Pin
But_Im_a_Lady22-Jul-08 20:30
But_Im_a_Lady22-Jul-08 20:30 
AnswerRe: Is it possible to make this routine automatic? Pin
Michael Dausmann22-Jul-08 5:34
Michael Dausmann22-Jul-08 5:34 
GeneralRe: Is it possible to make this routine automatic? Pin
But_Im_a_Lady22-Jul-08 20:33
But_Im_a_Lady22-Jul-08 20:33 
Question.net 2.0 windows - treeview Pin
arkiboys22-Jul-08 4:36
arkiboys22-Jul-08 4:36 
AnswerRe: .net 2.0 windows - treeview Pin
half-life22-Jul-08 7:57
half-life22-Jul-08 7:57 
GeneralRe: .net 2.0 windows - treeview Pin
arkiboys22-Jul-08 10:21
arkiboys22-Jul-08 10:21 
GeneralRe: .net 2.0 windows - treeview Pin
half-life23-Jul-08 10:24
half-life23-Jul-08 10:24 
GeneralRe: .net 2.0 windows - treeview Pin
arkiboys23-Jul-08 10:52
arkiboys23-Jul-08 10:52 
GeneralRe: .net 2.0 windows - treeview Pin
half-life23-Jul-08 19:33
half-life23-Jul-08 19:33 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.