Click here to Skip to main content
14,422,059 members
   

C#

 
AnswerRe: Efficiency of if versus assignment statements [Modified] Pin
Luc Pattyn22-Jul-08 9:15
sitebuilderLuc Pattyn22-Jul-08 9:15 
QuestionApplication Deployment Pin
BlitzPackage22-Jul-08 7:43
MemberBlitzPackage22-Jul-08 7:43 
AnswerRe: Application Deployment Pin
Garrett Pauls22-Jul-08 8:02
MemberGarrett Pauls22-Jul-08 8:02 
GeneralRe: Application Deployment Pin
BlitzPackage22-Jul-08 9:05
MemberBlitzPackage22-Jul-08 9:05 
GeneralRe: Application Deployment Pin
Garrett Pauls22-Jul-08 9:25
MemberGarrett Pauls22-Jul-08 9:25 
GeneralRe: Application Deployment Pin
BlitzPackage22-Jul-08 9:54
MemberBlitzPackage22-Jul-08 9:54 
GeneralRe: Application Deployment Pin
selcuks24-Jul-08 22:04
Memberselcuks24-Jul-08 22:04 
QuestionClass Cleanup Challenge Pin
lisad_tgc22-Jul-08 6:53
Memberlisad_tgc22-Jul-08 6: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 6:56
professionalAnthony Mushrow22-Jul-08 6:56 
QuestionMultithreading and XML DOM Pin
Justin Time22-Jul-08 6:14
MemberJustin Time22-Jul-08 6:14 
QuestionMouseMove event not firing for newly added control [modified] Pin
Michael Dausmann22-Jul-08 5:59
MemberMichael Dausmann22-Jul-08 5:59 
AnswerRe: MouseMove event not firing for newly added control Pin
half-life22-Jul-08 8:50
Memberhalf-life22-Jul-08 8:50 
GeneralRe: MouseMove event not firing for newly added control Pin
Michael Dausmann22-Jul-08 13:15
MemberMichael Dausmann22-Jul-08 13:15 
AnswerThe Answer! Use Capture=false.. Re: MouseMove event not firing for newly added control Pin
Michael Dausmann22-Jul-08 14:56
MemberMichael Dausmann22-Jul-08 14:56 
QuestionIs it possible to make this routine automatic? Pin
But_Im_a_Lady22-Jul-08 5:53
MemberBut_Im_a_Lady22-Jul-08 5:53 
AnswerRe: Is it possible to make this routine automatic? Pin
Luc Pattyn22-Jul-08 6:25
sitebuilderLuc Pattyn22-Jul-08 6:25 
GeneralRe: Is it possible to make this routine automatic? Pin
But_Im_a_Lady22-Jul-08 21:30
MemberBut_Im_a_Lady22-Jul-08 21:30 
AnswerRe: Is it possible to make this routine automatic? Pin
Michael Dausmann22-Jul-08 6:34
MemberMichael Dausmann22-Jul-08 6:34 
GeneralRe: Is it possible to make this routine automatic? Pin
But_Im_a_Lady22-Jul-08 21:33
MemberBut_Im_a_Lady22-Jul-08 21:33 
Question.net 2.0 windows - treeview Pin
arkiboys22-Jul-08 5:36
Memberarkiboys22-Jul-08 5:36 
AnswerRe: .net 2.0 windows - treeview Pin
half-life22-Jul-08 8:57
Memberhalf-life22-Jul-08 8:57 
GeneralRe: .net 2.0 windows - treeview Pin
arkiboys22-Jul-08 11:21
Memberarkiboys22-Jul-08 11:21 
GeneralRe: .net 2.0 windows - treeview Pin
half-life23-Jul-08 11:24
Memberhalf-life23-Jul-08 11:24 
GeneralRe: .net 2.0 windows - treeview Pin
arkiboys23-Jul-08 11:52
Memberarkiboys23-Jul-08 11:52 
GeneralRe: .net 2.0 windows - treeview Pin
half-life23-Jul-08 20:33
Memberhalf-life23-Jul-08 20: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.