Click here to Skip to main content
15,885,953 members
Home / Discussions / C#
   

C#

 
GeneralRe: Change the packet IP (source or destination) with Pcap.net Pin
falukky30-Mar-12 5:03
falukky30-Mar-12 5:03 
GeneralRe: Change the packet IP (source or destination) with Pcap.net Pin
Richard Andrew x6430-Mar-12 5:08
professionalRichard Andrew x6430-Mar-12 5:08 
GeneralRe: Change the packet IP (source or destination) with Pcap.net Pin
falukky30-Mar-12 5:22
falukky30-Mar-12 5:22 
Questiondigit roundoff Pin
Member 823360130-Mar-12 0:46
Member 823360130-Mar-12 0:46 
AnswerRe: digit roundoff Pin
V.30-Mar-12 1:05
professionalV.30-Mar-12 1:05 
AnswerRe: digit roundoff Pin
JF201530-Mar-12 1:28
JF201530-Mar-12 1:28 
AnswerRe: digit roundoff Pin
ProEnggSoft30-Mar-12 3:36
ProEnggSoft30-Mar-12 3:36 
AnswerRe: digit roundoff Pin
KUNWAR99930-Mar-12 7:17
KUNWAR99930-Mar-12 7:17 
Try this code.. :

double g = [any no];//should be of double
double L = Math.Floor(g);
if (g-L<0.5)
{
k = (int)(L);
}
else
{
k = (int)(L + 1);
}

now k have ur nearest integer.. Smile | :)
Questionmodifyable html control Pin
Ramkithepower30-Mar-12 0:16
Ramkithepower30-Mar-12 0:16 
AnswerRe: modifyable html control Pin
Eddy Vluggen30-Mar-12 8:02
professionalEddy Vluggen30-Mar-12 8:02 
QuestionCheck for empty DateTimeInput in c# Pin
nhanlaptrinh29-Mar-12 20:01
nhanlaptrinh29-Mar-12 20:01 
AnswerRe: Check for empty DateTimeInput in c# Pin
kiran605329-Mar-12 20:10
kiran605329-Mar-12 20:10 
AnswerRe: Check for empty DateTimeInput in c# Pin
OriginalGriff29-Mar-12 22:39
mveOriginalGriff29-Mar-12 22:39 
GeneralRe: Check for empty DateTimeInput in c# Pin
nhanlaptrinh30-Mar-12 1:25
nhanlaptrinh30-Mar-12 1:25 
Questionmultithreading control and management Pin
nasser_ali29-Mar-12 11:06
nasser_ali29-Mar-12 11:06 
AnswerRe: multithreading control and management Pin
Ravi Bhavnani29-Mar-12 11:11
professionalRavi Bhavnani29-Mar-12 11:11 
Questionmaking parllel for loop with uses of all processor Pin
KUNWAR99929-Mar-12 8:52
KUNWAR99929-Mar-12 8:52 
AnswerRe: making parllel for loop with uses of all processor Pin
Eddy Vluggen29-Mar-12 9:05
professionalEddy Vluggen29-Mar-12 9:05 
GeneralRe: making parllel for loop with uses of all processor Pin
KUNWAR99930-Mar-12 7:13
KUNWAR99930-Mar-12 7:13 
AnswerRe: making parllel for loop with uses of all processor Pin
Eddy Vluggen30-Mar-12 8:02
professionalEddy Vluggen30-Mar-12 8:02 
GeneralRe: making parllel for loop with uses of all processor Pin
KUNWAR99930-Mar-12 8:14
KUNWAR99930-Mar-12 8:14 
QuestionRe: making parllel for loop with uses of all processor Pin
Eddy Vluggen30-Mar-12 8:26
professionalEddy Vluggen30-Mar-12 8:26 
QuestionUsing Reflections Pin
SFORavi29-Mar-12 8:21
SFORavi29-Mar-12 8:21 
AnswerRe: Using Reflections Pin
PIEBALDconsult29-Mar-12 8:41
mvePIEBALDconsult29-Mar-12 8:41 
AnswerRe: Using Reflections Pin
Ravi Bhavnani29-Mar-12 11:13
professionalRavi Bhavnani29-Mar-12 11:13 

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.