Click here to Skip to main content
15,887,175 members
Home / Discussions / C#
   

C#

 
AnswerRe: Need a multilingual virtual keyboard. Simulating key action using virtual key codes. Unable to generate accented charcacters Pin
Richard MacCutchan25-Jun-12 22:09
mveRichard MacCutchan25-Jun-12 22:09 
GeneralRe: Need a multilingual virtual keyboard. Simulating key action using virtual key codes. Unable to generate accented charcacters Pin
revengeoffallen26-Jun-12 1:53
revengeoffallen26-Jun-12 1:53 
GeneralRe: Need a multilingual virtual keyboard. Simulating key action using virtual key codes. Unable to generate accented charcacters Pin
Richard MacCutchan26-Jun-12 2:02
mveRichard MacCutchan26-Jun-12 2:02 
Questionxaml parser exception Pin
Mydsh25-Jun-12 18:28
Mydsh25-Jun-12 18:28 
AnswerRe: xaml parser exception Pin
Dave Kreskowiak26-Jun-12 2:00
mveDave Kreskowiak26-Jun-12 2:00 
Questionarabic to roman numerals Pin
Salomon Velazquez25-Jun-12 12:38
Salomon Velazquez25-Jun-12 12:38 
AnswerRe: arabic to roman numerals Pin
PIEBALDconsult25-Jun-12 13:31
mvePIEBALDconsult25-Jun-12 13:31 
GeneralRe: arabic to roman numerals Pin
Salomon Velazquez25-Jun-12 13:51
Salomon Velazquez25-Jun-12 13:51 
thanks for the help but i guess now the problems is looping it so that they show counting down this is what i have.

C#
namespace ConsoleApplication1
{
    class Program
    {

        public static string ToRoman(int i)
        {
            if (i <= 0) return "";

            int[] Nums = { 1 , 4 , 5 , 9 , 10 , 40 ,
            50, 90 , 100, 400, 500, 900, 1000};
            string[] RomanNums = {"I", "IV", "V", "IX", "X", "Xl",
             "l", "XC", "C", "CD", "D", "CM", "M"};

            string sRtn = ""; int k = i;
            for (int j = Nums.Length - 1; j >= 0; --j)
            {
                while (k >= Nums[j])
                {
                    k -= Nums[j];
                    sRtn += RomanNums[k];
                }
            }
            return sRtn;
        }
        static void Main(string[] args)
        {
            for( int Nums = 1; Nums <= 4000; Nums++)
            {
        Console.WriteLine(Nums + RomanNums[]);
}

GeneralRe: arabic to roman numerals Pin
PIEBALDconsult25-Jun-12 17:04
mvePIEBALDconsult25-Jun-12 17:04 
QuestionHow To Convert This From VB.Net Pin
Kevin Marois25-Jun-12 8:26
professionalKevin Marois25-Jun-12 8:26 
AnswerRe: How To Convert This From VB.Net Pin
Richard MacCutchan25-Jun-12 8:36
mveRichard MacCutchan25-Jun-12 8:36 
GeneralRe: How To Convert This From VB.Net Pin
Kevin Marois25-Jun-12 8:38
professionalKevin Marois25-Jun-12 8:38 
AnswerRe: How To Convert This From VB.Net Pin
OriginalGriff25-Jun-12 8:43
mveOriginalGriff25-Jun-12 8:43 
GeneralRe: How To Convert This From VB.Net Pin
Kevin Marois25-Jun-12 10:12
professionalKevin Marois25-Jun-12 10:12 
AnswerRe: How To Convert This From VB.Net Pin
Karthik Harve25-Jun-12 21:46
professionalKarthik Harve25-Jun-12 21:46 
Generaldefault textbox value Pin
vins2125-Jun-12 3:34
vins2125-Jun-12 3:34 
GeneralRe: default textbox value Pin
Pete O'Hanlon25-Jun-12 3:36
mvePete O'Hanlon25-Jun-12 3:36 
GeneralRe: default textbox value Pin
vins2125-Jun-12 3:53
vins2125-Jun-12 3:53 
AnswerRe: default textbox value Pin
Eddy Vluggen25-Jun-12 4:39
professionalEddy Vluggen25-Jun-12 4:39 
GeneralRe: default textbox value Pin
Sunil P V26-Jun-12 0:05
Sunil P V26-Jun-12 0:05 
QuestionHow to access the method from an Internal Class in a assembly/dll Pin
Rocky2325-Jun-12 2:30
Rocky2325-Jun-12 2:30 
AnswerRe: How to access the method from an Internal Class in a assembly/dll Pin
BobJanova25-Jun-12 2:36
BobJanova25-Jun-12 2:36 
GeneralRe: How to access the method from an Internal Class in a assembly/dll Pin
Rocky2325-Jun-12 2:54
Rocky2325-Jun-12 2:54 
GeneralRe: How to access the method from an Internal Class in a assembly/dll Pin
BobJanova25-Jun-12 4:49
BobJanova25-Jun-12 4:49 
GeneralRe: How to access the method from an Internal Class in a assembly/dll Pin
Rocky2325-Jun-12 4:56
Rocky2325-Jun-12 4: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.