<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-6550079423760422477</id><updated>2012-02-16T16:17:25.798+05:30</updated><category term='C#'/><category term='WPF'/><title type='text'>Anurag's .Net Blog</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://anuragthakur.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6550079423760422477/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://anuragthakur.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Anurag Thakur</name><uri>http://www.blogger.com/profile/09613739729598841463</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>2</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6550079423760422477.post-8517430306873297895</id><published>2009-10-07T19:54:00.032+05:30</published><updated>2009-10-08T19:29:17.046+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><title type='text'>Dictionary vs. KeyValuePair</title><content type='html'>A Dictionary is a collection of KeyValuePairs and same is the List of KeyValuePair also.&lt;br /&gt;&lt;br /&gt;then whats the diff?&lt;br /&gt;&lt;br /&gt;In case of dictionary, it takes cares of the fact that keys are unique through the collection.&lt;br /&gt;while a list of keyvaluepair can have repaeting keys in the collection. There may be scenarios where you may have such specific requirements. Use accordingly.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6550079423760422477-8517430306873297895?l=anuragthakur.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://anuragthakur.blogspot.com/feeds/8517430306873297895/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6550079423760422477&amp;postID=8517430306873297895' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6550079423760422477/posts/default/8517430306873297895'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6550079423760422477/posts/default/8517430306873297895'/><link rel='alternate' type='text/html' href='http://anuragthakur.blogspot.com/2009/10/blog-post.html' title='Dictionary vs. KeyValuePair'/><author><name>Anurag Thakur</name><uri>http://www.blogger.com/profile/09613739729598841463</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6550079423760422477.post-8356456163636072884</id><published>2009-10-07T19:44:00.026+05:30</published><updated>2009-10-08T19:21:11.899+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='WPF'/><title type='text'>WPF: String Formatting in xaml</title><content type='html'>String can be Formatted very easily in xaml.&lt;br /&gt;To format a text that is to be displayed in a textblock, first bind the textblock with the field and then use StringFormat attribute of the textblock to format the value.&lt;br /&gt;For example:&lt;br /&gt;&lt;textblock text="{Binding Children.Count}"&gt;&lt;/textblock&gt;&lt;br /&gt;&amp;lt;TextBlock Text="{Binding Children.Count}"/&amp;gt;&lt;br /&gt;&lt;br /&gt;If you want to insert braces surrounding this value:&lt;br /&gt;&amp;lt;TextBlock Text="{Binding Children.Count, StringFormat='{}{0:(#)}'}"/&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;textblock text="{Binding Children.Count, StringFormat='{}{0:(#)}'}"&gt;&lt;/textblock&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6550079423760422477-8356456163636072884?l=anuragthakur.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://anuragthakur.blogspot.com/feeds/8356456163636072884/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6550079423760422477&amp;postID=8356456163636072884' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6550079423760422477/posts/default/8356456163636072884'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6550079423760422477/posts/default/8356456163636072884'/><link rel='alternate' type='text/html' href='http://anuragthakur.blogspot.com/2009/10/wpf-string-formatting-in-xaml.html' title='WPF: String Formatting in xaml'/><author><name>Anurag Thakur</name><uri>http://www.blogger.com/profile/09613739729598841463</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
