Click here to Skip to main content
15,899,474 members
Home / Discussions / C#
   

C#

 
Questioncode for pressing start menu in c# Pin
Basudevkuet9-Mar-10 18:00
Basudevkuet9-Mar-10 18:00 
AnswerRe: code for pressing start menu in c# Pin
Khaniya9-Mar-10 19:47
professionalKhaniya9-Mar-10 19:47 
GeneralRe: code for pressing start menu in c# Pin
Basudevkuet10-Mar-10 4:32
Basudevkuet10-Mar-10 4:32 
QuestionCompare values within a List against another value [modified] Pin
suprsnipes9-Mar-10 17:49
suprsnipes9-Mar-10 17:49 
AnswerRe: Compare values within a List against another value Pin
Calla9-Mar-10 20:16
Calla9-Mar-10 20:16 
AnswerRe: Compare values within a List against another value Pin
Luc Pattyn10-Mar-10 2:57
sitebuilderLuc Pattyn10-Mar-10 2:57 
GeneralRe: Compare values within a List against another value Pin
suprsnipes10-Mar-10 2:59
suprsnipes10-Mar-10 2:59 
QuestionNeed help to find nearest number above another from text file Pin
suprsnipes9-Mar-10 15:04
suprsnipes9-Mar-10 15:04 
Hi,

I've had to go back to the drawing board and I need some help. Below is the code I am using to read a text file which contains around 20 numbers.

The readText Print works as expected showing all of the numbers within the text file.

I need to Print the nearest number (within the text file) that is above another which is a double and I'm not quite sure how?

{
           readText = File.ReadAllText("C:\\PIn.txt");

           string [] split = readText.Split(new Char [] {' '});

           Print(readText);

       }

AnswerRe: Need help to find nearest number above another from text file Pin
Not Active9-Mar-10 15:25
mentorNot Active9-Mar-10 15:25 
AnswerRe: Need help to find nearest number above another from text file Pin
Luc Pattyn9-Mar-10 15:30
sitebuilderLuc Pattyn9-Mar-10 15:30 
AnswerRe: Need help to find nearest number above another from text file Pin
Richard MacCutchan9-Mar-10 21:30
mveRichard MacCutchan9-Mar-10 21:30 
QuestionGetting Mac Address of a remote PC with C# without Admin Privileges Pin
alias479-Mar-10 14:19
alias479-Mar-10 14:19 
Answerwarning Pin
Luc Pattyn9-Mar-10 14:51
sitebuilderLuc Pattyn9-Mar-10 14:51 
Questionpinvokes from windows service Pin
jacobjordan9-Mar-10 14:02
jacobjordan9-Mar-10 14:02 
AnswerRe: pinvokes from windows service Pin
Luc Pattyn9-Mar-10 14:10
sitebuilderLuc Pattyn9-Mar-10 14:10 
AnswerRe: pinvokes from windows service Pin
DaveyM699-Mar-10 14:16
professionalDaveyM699-Mar-10 14:16 
GeneralRe: pinvokes from windows service Pin
jacobjordan9-Mar-10 14:41
jacobjordan9-Mar-10 14:41 
GeneralRe: pinvokes from windows service Pin
Luc Pattyn9-Mar-10 14:53
sitebuilderLuc Pattyn9-Mar-10 14:53 
GeneralRe: pinvokes from windows service Pin
DaveyM699-Mar-10 15:20
professionalDaveyM699-Mar-10 15:20 
GeneralRe: pinvokes from windows service Pin
jacobjordan9-Mar-10 15:47
jacobjordan9-Mar-10 15:47 
GeneralRe: pinvokes from windows service Pin
DaveyM699-Mar-10 16:00
professionalDaveyM699-Mar-10 16:00 
GeneralRe: pinvokes from windows service Pin
Luc Pattyn9-Mar-10 16:02
sitebuilderLuc Pattyn9-Mar-10 16:02 
GeneralRe: pinvokes from windows service Pin
DaveyM699-Mar-10 15:26
professionalDaveyM699-Mar-10 15:26 
QuestionSender as form access class propertys Pin
Member 69748219-Mar-10 12:29
Member 69748219-Mar-10 12:29 
AnswerRe: Sender as form access class propertys [modified] Pin
Luc Pattyn9-Mar-10 12:36
sitebuilderLuc Pattyn9-Mar-10 12:36 

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.