Click here to Skip to main content
11,437,713 members (35,268 online)
   

C#

 
AnswerRe: collections generic with wcf Pin
SledgeHammer0119-Jan-13 14:03
memberSledgeHammer0119-Jan-13 14:03 
GeneralRe: collections generic with wcf Pin
yonim12319-Jan-13 14:20
memberyonim12319-Jan-13 14:20 
QuestionCannot Access the form _ Cross-thread operation Pin
mohammadkaab19-Jan-13 10:50
membermohammadkaab19-Jan-13 10:50 
AnswerRe: Cannot Access the form _ Cross-thread operation Pin
jibesh19-Jan-13 22:29
memberjibesh19-Jan-13 22:29 
AnswerRe: Cannot Access the form _ Cross-thread operation Pin
pt140120-Jan-13 23:13
memberpt140120-Jan-13 23:13 
GeneralRe: Cannot Access the form _ Cross-thread operation Pin
mohammadkaab21-Jan-13 21:26
membermohammadkaab21-Jan-13 21:26 
Questionwcf p2p file transfering over internet Pin
vab26108519-Jan-13 3:03
membervab26108519-Jan-13 3:03 
QuestionWorking with tab escape charecter Pin
Mc_Topaz19-Jan-13 2:49
memberMc_Topaz19-Jan-13 2:49 
I have problem making tab alignment in a text file.
For example I have this simple code:
long l1 = 500;
long l2 = long.MaxValue;
long l3 = 568678;
 
Console.WriteLine("Value1\tValue2");
Console.WriteLine("--------------");
Console.WriteLine("{0}\t{1}", l1, l3);
Console.WriteLine("{0}\t{1}", l2, l3);
This gives this output:
Value1  Value2
--------------
500     568678
9223372036854775807     568678

With this code I get the result I want:
long l1 = 500;
long l2 = long.MaxValue;
long l3 = 568678;
Console.WriteLine("Value1\t\t\tValue2");
            Console.WriteLine("------------------------------");
Console.WriteLine("{0}\t\t\t{1}", l1, l3);
Console.WriteLine("{0}\t{1}", l2, l3);
Output becomes:
Value1                  Value2
------------------------------
500                     568678
9223372036854775807     568678
In the second result I have hard-coded the tab escape sequence different for each row to make it looking good.

Is there any way to fix this automatically?
AnswerRe: Working with tab escape charecter Pin
Abhinav S19-Jan-13 3:38
mvpAbhinav S19-Jan-13 3:38 
GeneralRe: Working with tab escape charecter Pin
Mc_Topaz19-Jan-13 4:22
memberMc_Topaz19-Jan-13 4:22 
QuestionDesign-Time Error in the Windows Forms Designer [modified] Pin
_q12_18-Jan-13 5:25
member_q12_18-Jan-13 5:25 
AnswerRe: Design-Time Error in the Windows Forms Designer Pin
Eddy Vluggen18-Jan-13 6:02
mvpEddy Vluggen18-Jan-13 6:02 
AnswerRe: Design-Time Error in the Windows Forms Designer Pin
Alan N18-Jan-13 6:42
memberAlan N18-Jan-13 6:42 
QuestionParalel QuickSort with 2 threads running at the same spped [modified] Pin
George Nistor18-Jan-13 1:51
memberGeorge Nistor18-Jan-13 1:51 
AnswerRe: Paralel QuickSort with 2 threads running at the same spped Pin
Dave Kreskowiak18-Jan-13 5:20
mvpDave Kreskowiak18-Jan-13 5:20 
GeneralRe: Paralel QuickSort with 2 threads running at the same spped [modified] Pin
George Nistor18-Jan-13 5:41
memberGeorge Nistor18-Jan-13 5:41 
GeneralRe: Paralel QuickSort with 2 threads running at the same spped Pin
Dave Kreskowiak18-Jan-13 7:25
mvpDave Kreskowiak18-Jan-13 7:25 
AnswerRe: Paralel QuickSort with 2 threads running at the same spped Pin
Alan Balkany18-Jan-13 6:12
memberAlan Balkany18-Jan-13 6:12 
GeneralRe: Paralel QuickSort with 2 threads running at the same spped Pin
George Nistor18-Jan-13 6:31
memberGeorge Nistor18-Jan-13 6:31 
GeneralRe: Paralel QuickSort with 2 threads running at the same spped Pin
Dave Kreskowiak18-Jan-13 7:26
mvpDave Kreskowiak18-Jan-13 7:26 
GeneralRe: Paralel QuickSort with 2 threads running at the same spped Pin
George Nistor18-Jan-13 7:53
memberGeorge Nistor18-Jan-13 7:53 
GeneralRe: Paralel QuickSort with 2 threads running at the same spped Pin
Dave Kreskowiak18-Jan-13 8:31
mvpDave Kreskowiak18-Jan-13 8:31 
GeneralRe: Paralel QuickSort with 2 threads running at the same spped [modified] Pin
George Nistor18-Jan-13 8:38
memberGeorge Nistor18-Jan-13 8:38 
GeneralRe: Paralel QuickSort with 2 threads running at the same spped Pin
George Nistor18-Jan-13 23:49
memberGeorge Nistor18-Jan-13 23:49 
GeneralRe: Paralel QuickSort with 2 threads running at the same spped Pin
Dave Kreskowiak19-Jan-13 4:27
mvpDave Kreskowiak19-Jan-13 4:27 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web01 | 2.8.150506.1 | Last Updated 6 May 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid