|
It's putting the space before the single digit numbers. Try changing it {0,4} to see the effect in greater detail.
|
|
|
|
|
Exactly.
THESE PEOPLE REALLY BOTHER ME!! How can they know what you should do without knowing what you want done?!?!
-- C++ FQA Lite
|
|
|
|
|
Thanks Pete !
“I have diligently numbered the days of pure and genuine happiness which have fallen to my lot: They amount to 14.” Abd-Ar Rahman III, Caliph of Cordoba, circa 950CE.
|
|
|
|
|
The MSDN documentation is reasonably clear (for once!):
A format item has this syntax:
{index[,alignment][:formatString]}
...
alignment
Optional. A signed integer that indicates the total length of the field into which the argument is inserted and whether it is right-aligned (a positive integer) or left-aligned (a negative integer). If you omit alignment, the string representation of the corresponding argument is inserted in a field with no leading or trailing spaces.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
Richard Deeming wrote: he MSDN documentation is reasonably clear (for once!):
THESE PEOPLE REALLY BOTHER ME!! How can they know what you should do without knowing what you want done?!?!
-- C++ FQA Lite
|
|
|
|
|
Thanks, Richard !
“I have diligently numbered the days of pure and genuine happiness which have fallen to my lot: They amount to 14.” Abd-Ar Rahman III, Caliph of Cordoba, circa 950CE.
|
|
|
|
|
I need RC4 code in c# please email me the code at "hassan.redrose.muhammad@gmail.com" please
modified 6-Sep-14 14:38pm.
|
|
|
|
|
It doesn't quite work like that.
We do not do your work for you.
If you want someone to write your code, you have to pay - I suggest you go to Freelancer.com and ask there.
But be aware: you get what you pay for. Pay peanuts, get monkeys.
You looking for sympathy?
You'll find it in the dictionary, between sympathomimetic and sympatric
(Page 1788, if it helps)
|
|
|
|
|
|
By publishing your email address in a public forum, you ought not expect to receive code to be sent to you, but spam or malware! Do you understand why? There are many bots in the web harvesting addresses just for the purposes of spammers and hackers.
|
|
|
|
|
|
logicalweb wrote: How it is different from below approach Your question is not clear, what are you referring to?
|
|
|
|
|
Don't post this here - if you got the code from an article, then there is a "new message" button at the bottom of that article, which causes an email to be sent to the author. They are then alerted that you wish to speak to them.
Posting this here relies on them "dropping by" and realising it is for them.
You looking for sympathy?
You'll find it in the dictionary, between sympathomimetic and sympatric
(Page 1788, if it helps)
|
|
|
|
|
I am working on a Windows Phone 8.1 app in XAML / C# and I am using the ListCollectionView[^] class to allow the list to be filtered. The problem is, I need to group the list, which that class doesn't support. I tried using LINQ, but it gave a it kept giving me an object initialization error at the ICompare method in ListCollectionView.cs. I also used the GroupKeyList.cs class and used the following line to create a grouped list:
MusicSource.Source = GroupKeyList.CreateGroupList(source, (Music sd) => { return sd.Artist; }); where MusicSource is a CollectionViewSource. Music.cs
However, it returns the same object initialization error at the same position. What am I doing wrong and how can I get the group to work (preferably with the GroupKeyList class)?
|
|
|
|
|
You should post your question in the Quick Answer section in order to get more responses.
|
|
|
|
|
|
You would probably get a faster response by posting this in the ASP.NET forum.
|
|
|
|
|
WinForm application for How to capture Image from any web cam and store it in a SQL Server using c#
|
|
|
|
|
|
nice solution
Sankarsan Parida
|
|
|
|
|
Do you want to capture image from a web cam ?
|
|
|
|
|
What have you tried? Where are you stuck?
/ravi
|
|
|
|
|
How to connect two systems using C# without using any third server ?
I want to create an gaming application(something like Tic-Tac-Toe game), which two players can play it via their own respective systems.
I don't know how to connect two different systems. It can be a Server Client connection or Peer-to-Peer connection.
|
|
|
|
|
The simplest way would be to use TCP. Alternatively, you could investigate using WCF and turn one of the clients into the host system.
|
|
|
|
|
Can you explain it further ? Please..
|
|
|
|