Click here to Skip to main content
15,898,947 members
Home / Discussions / C#
   

C#

 
GeneralRe: Need help to convert vb module into c# Pin
tasumisra16-Dec-07 18:38
tasumisra16-Dec-07 18:38 
GeneralRe: Need help to convert vb module into c# Pin
Yitzchok Dev16-Dec-07 18:40
Yitzchok Dev16-Dec-07 18:40 
GeneralRe: Need help to convert vb module into c# Pin
tasumisra16-Dec-07 18:51
tasumisra16-Dec-07 18:51 
GeneralRe: Need help to convert vb module into c# Pin
That's Aragon16-Dec-07 19:54
That's Aragon16-Dec-07 19:54 
GeneralRe: Need help to convert vb module into c# Pin
tasumisra16-Dec-07 20:02
tasumisra16-Dec-07 20:02 
GeneralBeginner array program, need help!!! Pin
cmh62316-Dec-07 17:17
cmh62316-Dec-07 17:17 
GeneralRe: Beginner array program, need help!!! Pin
CKnig16-Dec-07 18:20
CKnig16-Dec-07 18:20 
GeneralRe: Beginner array program, need help!!! Pin
Yitzchok Dev16-Dec-07 18:26
Yitzchok Dev16-Dec-07 18:26 
using System;<br />
using System.Collections.Generic;<br />
using System.Text;<br />
<br />
namespace ConsoleApplication1<br />
{<br />
    class Program<br />
    {<br />
        static void Main(string[] args) {<br />
<br />
            string[] zipCodes = new string[10]{"33701","33702","33703","33704","33705",<br />
                "33706","33707","33708","33709","33710"};<br />
<br />
            Console.Write("Please enter a zip-code : ");<br />
            string zipSearch = Console.ReadLine();<br />
            bool found = false;<br />
<br />
            foreach (string zip in zipCodes) {<br />
                if (zip == zipSearch) {<br />
                    found = true;<br />
                    break;<br />
                }<br />
            }<br />
            Console.WriteLine();<br />
<br />
            if (found) {<br />
                Console.WriteLine("The zip-code, {0}, is delivered to", zipSearch);<br />
            } else {<br />
                Console.WriteLine("The zip-code, {0}, is not delivered to", zipSearch);<br />
                Console.WriteLine();<br />
                Console.WriteLine("The full list is :");<br />
                Console.WriteLine();<br />
            }<br />
<br />
            Array.Reverse(zipCodes);<br />
            for (int i = 0; i < zipCodes.Length; i++) {<br />
                Console.WriteLine(zipCodes[i]);<br />
            }<br />
            Console.WriteLine("Press a key to Continue.");<br />
            Console.ReadLine();<br />
        }<br />
    }<br />
}<br />

GeneralRe: Beginner array program, need help!!! Pin
cmh62316-Dec-07 18:38
cmh62316-Dec-07 18:38 
QuestionHow to make a http Request in Windows Service +Timer Pin
Narendra Mohan16-Dec-07 17:01
Narendra Mohan16-Dec-07 17:01 
AnswerRe: How to make a http Request in Windows Service +Timer Pin
CKnig16-Dec-07 18:23
CKnig16-Dec-07 18:23 
Questiondetecting a word-wrap event in a TextBox or RichTextBox control ? Pin
BillWoodruff16-Dec-07 1:43
professionalBillWoodruff16-Dec-07 1:43 
GeneralRe: detecting a word-wrap event in a TextBox or RichTextBox control ? [modified] Pin
Anthony Mushrow16-Dec-07 6:07
professionalAnthony Mushrow16-Dec-07 6:07 
GeneralRe: detecting a word-wrap event in a TextBox or RichTextBox control ? Pin
BillWoodruff17-Dec-07 4:05
professionalBillWoodruff17-Dec-07 4:05 
GeneralRe: detecting a word-wrap event in a TextBox or RichTextBox control ? Pin
foxjazzdude12-Dec-09 6:00
foxjazzdude12-Dec-09 6:00 
GeneralEnabling dataGridView sorting for a bound List<t></t> Pin
martin_hughes16-Dec-07 1:23
martin_hughes16-Dec-07 1:23 
GeneralRe: Enabling dataGridView sorting for a bound List Pin
martin_hughes16-Dec-07 6:37
martin_hughes16-Dec-07 6:37 
GeneralRe: Enabling dataGridView sorting for a bound List Pin
martin_hughes16-Dec-07 10:34
martin_hughes16-Dec-07 10:34 
GeneralRe: Enabling dataGridView sorting for a bound List Pin
Pete O'Hanlon16-Dec-07 11:27
mvePete O'Hanlon16-Dec-07 11:27 
GeneralRe: Enabling dataGridView sorting for a bound List Pin
martin_hughes16-Dec-07 11:41
martin_hughes16-Dec-07 11:41 
GeneralRe: Enabling dataGridView sorting for a bound List Pin
Pete O'Hanlon16-Dec-07 12:20
mvePete O'Hanlon16-Dec-07 12:20 
GeneralRe: Enabling dataGridView sorting for a bound List Pin
martin_hughes16-Dec-07 12:33
martin_hughes16-Dec-07 12:33 
GeneralRe: Enabling dataGridView sorting for a bound List Pin
Pete O'Hanlon17-Dec-07 1:15
mvePete O'Hanlon17-Dec-07 1:15 
GeneralRe: Enabling dataGridView sorting for a bound List Pin
martin_hughes17-Dec-07 4:45
martin_hughes17-Dec-07 4:45 
GeneralRe: Enabling dataGridView sorting for a bound List Pin
Pete O'Hanlon17-Dec-07 8:56
mvePete O'Hanlon17-Dec-07 8:56 

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.