<?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:blogger='http://schemas.google.com/blogger/2008' 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-1053071547469008890</id><updated>2026-01-16T06:16:43.867+05:30</updated><category term="dot net"/><category term="WPF"/><category term="XAML"/><category term="C#"/><category term="LINQ"/><category term="LINQ to Hashtable"/><category term="LINQ to Object"/><category term="Delegates"/><category term="JavaScript"/><category term="OOP"/><category term="SQL"/><category term="Test"/><category term="Triggers"/><category term="Control Template"/><category term="DataTriggers"/><category term="Google"/><category term="Tricks"/><category term="BackTrack"/><category term="Data Structures"/><category term="Design Patterns"/><category term="DevExpress"/><category term="EventTriggers"/><category term="Events"/><category term="Inheritance"/><category term="Interview Questions"/><category term="JQuery"/><category term="Linked List"/><category term="Linux"/><category term="ListBox"/><category term="Nexus"/><category term="PDF Books"/><category term="Resource Dictionary"/><category term="downloads"/><category term="AJAX"/><category term="AncestorType"/><category term="ArrayList"/><category term="BARC"/><category term="Blogspot trick"/><category term="Cross-thread call"/><category term="Entertainment"/><category term="FileStream"/><category term="Heartbleed"/><category term="Hyperlink"/><category term="Internet"/><category term="JSON"/><category term="Method hiding"/><category term="Null-Coalescing Operator"/><category term="Overriding"/><category term="Process"/><category term="QUOTES"/><category term="StringFormat"/><category term="Transformation"/><category term="VMWare"/><category term="Virtual Machine"/><category term="WCF"/><category term="Watermark"/><category term="garbage collection"/><category term="log4j"/><title type='text'>Hub of Computer Tricks and Programming</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://akashsoni7.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1053071547469008890/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://akashsoni7.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/1053071547469008890/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Akash</name><uri>http://www.blogger.com/profile/03343674517768400422</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>75</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-1053071547469008890.post-4243858952876192450</id><published>2014-05-12T14:40:00.002+05:30</published><updated>2014-05-12T14:40:49.277+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="C#"/><category scheme="http://www.blogger.com/atom/ns#" term="dot net"/><title type='text'>Generic Function to convert string to Enum</title><summary type="text">
private T GetEnumFromString&amp;lt;T&amp;gt;(string value)
  {
     try
        {
           T t;
           t = (T)Enum.Parse(typeof(T), value);
           return t;
        }
     catch (Exception E)
        {
           return (T)((object)0);
        }
   }

</summary><link rel='replies' type='application/atom+xml' href='http://akashsoni7.blogspot.com/feeds/4243858952876192450/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://akashsoni7.blogspot.com/2014/05/generic-function-to-convert-string-to.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1053071547469008890/posts/default/4243858952876192450'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1053071547469008890/posts/default/4243858952876192450'/><link rel='alternate' type='text/html' href='http://akashsoni7.blogspot.com/2014/05/generic-function-to-convert-string-to.html' title='Generic Function to convert string to Enum'/><author><name>Akash</name><uri>http://www.blogger.com/profile/03343674517768400422</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1053071547469008890.post-3036559785951863178</id><published>2014-04-14T13:42:00.001+05:30</published><updated>2014-04-14T13:42:13.923+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Heartbleed"/><title type='text'>The Heartbleed Bug (CVE-2014-0160)</title><summary type="text">



Neel Metha from Google Security discovered incorrect memory handling in Open TLS Heartbeat extension. By which attacker can access upto 64K of memory of client or server and can expose Private key and other secret data.



Affected users should upgrade to OpenSSL 1.0.1g. Users unable to immediately
upgrade can alternatively recompile OpenSSL with -DOPENSSL_NO_HEARTBEATS.





For complete </summary><link rel='replies' type='application/atom+xml' href='http://akashsoni7.blogspot.com/feeds/3036559785951863178/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://akashsoni7.blogspot.com/2014/04/the-heartbleed-bug-cve-2014-0160.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1053071547469008890/posts/default/3036559785951863178'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1053071547469008890/posts/default/3036559785951863178'/><link rel='alternate' type='text/html' href='http://akashsoni7.blogspot.com/2014/04/the-heartbleed-bug-cve-2014-0160.html' title='The Heartbleed Bug (CVE-2014-0160)'/><author><name>Akash</name><uri>http://www.blogger.com/profile/03343674517768400422</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1053071547469008890.post-7486140613155144665</id><published>2014-04-13T13:13:00.002+05:30</published><updated>2014-04-14T13:45:33.626+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="EventTriggers"/><category scheme="http://www.blogger.com/atom/ns#" term="WPF"/><category scheme="http://www.blogger.com/atom/ns#" term="XAML"/><title type='text'>Dock panel like animated buttons in WPF(XAML)</title><summary type="text">
Like dockpanel buttons(Buttons which grows up as mouse enters on button) in windows, we can have the buttons in WPF without writing any C# or VB code. This can be achieved by using EventTriggers &amp;amp; DoubleAnimations.







As mentioned in above image as mouse enters on Recycle Bin icon, it grows up, similar thing can be achieved in wpf, sample XAML is written below.



Code:



&amp;lt;Grid </summary><link rel='replies' type='application/atom+xml' href='http://akashsoni7.blogspot.com/feeds/7486140613155144665/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://akashsoni7.blogspot.com/2014/04/dock-panel-like-animated-buttons-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1053071547469008890/posts/default/7486140613155144665'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1053071547469008890/posts/default/7486140613155144665'/><link rel='alternate' type='text/html' href='http://akashsoni7.blogspot.com/2014/04/dock-panel-like-animated-buttons-in.html' title='Dock panel like animated buttons in WPF(XAML)'/><author><name>Akash</name><uri>http://www.blogger.com/profile/03343674517768400422</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEibQkreRSRb3bS1F-NK1lJ3IJY_8TSER9LhFl6uiK_6yGt5aJJoPrBHnnCQ-wUjkl4Lc9o3noK-yaDNnUfteKg1C6KkwULgkGvgavdRXkhuatMiWXzKNiQhaK_Mw1nLtV6546C0dt21YA/s72-c/1.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1053071547469008890.post-7953517257382001374</id><published>2014-04-11T17:38:00.002+05:30</published><updated>2014-04-16T16:33:51.906+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="C#"/><category scheme="http://www.blogger.com/atom/ns#" term="LINQ"/><title type='text'>Deferred Execution in LINQ</title><summary type="text">
Deferred Execution of Query

  class Sample
    {
      public int i;
      public String str;
    }

  static void Main(string[] args)
    {
      List lst = new List();
      lst.Add(new Sample() { i = 1, str = &quot;String1&quot; });
      lst.Add(new Sample() { i = 2, str = &quot;String2&quot; });
      lst.Add(new Sample() { i = 3, str = &quot;String3&quot; });
      lst.Add(new Sample() { i = 4, str = &quot;String4&quot; });
</summary><link rel='replies' type='application/atom+xml' href='http://akashsoni7.blogspot.com/feeds/7953517257382001374/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://akashsoni7.blogspot.com/2014/04/deferred-execution-in-linq.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1053071547469008890/posts/default/7953517257382001374'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1053071547469008890/posts/default/7953517257382001374'/><link rel='alternate' type='text/html' href='http://akashsoni7.blogspot.com/2014/04/deferred-execution-in-linq.html' title='Deferred Execution in LINQ'/><author><name>Akash</name><uri>http://www.blogger.com/profile/03343674517768400422</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1053071547469008890.post-4473684956354163870</id><published>2014-04-09T14:01:00.002+05:30</published><updated>2014-04-11T17:41:01.186+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="C#"/><category scheme="http://www.blogger.com/atom/ns#" term="Design Patterns"/><category scheme="http://www.blogger.com/atom/ns#" term="dot net"/><category scheme="http://www.blogger.com/atom/ns#" term="OOP"/><title type='text'>Factory Design pattern</title><summary type="text">
Factory design pattern provides you an interface creating a single object, but let subclass decide which class to instantiate. This pattern is used most frequently when we are having common functionality with different methods for different objects.

In that scenario, we will create an interface with defining common functionality which will be implemented by the classes. A class will be defined </summary><link rel='replies' type='application/atom+xml' href='http://akashsoni7.blogspot.com/feeds/4473684956354163870/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://akashsoni7.blogspot.com/2014/04/factory-design-pattern.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1053071547469008890/posts/default/4473684956354163870'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1053071547469008890/posts/default/4473684956354163870'/><link rel='alternate' type='text/html' href='http://akashsoni7.blogspot.com/2014/04/factory-design-pattern.html' title='Factory Design pattern'/><author><name>Akash</name><uri>http://www.blogger.com/profile/03343674517768400422</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1053071547469008890.post-2413546981313326291</id><published>2014-04-04T13:01:00.001+05:30</published><updated>2014-04-09T14:04:11.763+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="WPF"/><category scheme="http://www.blogger.com/atom/ns#" term="XAML"/><title type='text'>TargetInvocationException was unhandled &quot;Exception has been thrown by the target of an invocation.&quot; issue in WPF</title><summary type="text">

In WPF, most probably the issue occurs when we are accessing null object in the constructor of the code file of the XAML or If you are invoking &quot;PropertyChanged&quot; event without having null check inside the constructor.

 

Example 1:


&amp;nbsp;public MainWindow()
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; InitializeComponent();
&amp;</summary><link rel='replies' type='application/atom+xml' href='http://akashsoni7.blogspot.com/feeds/2413546981313326291/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://akashsoni7.blogspot.com/2014/04/targetinvocationexception-was-unhandled.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1053071547469008890/posts/default/2413546981313326291'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1053071547469008890/posts/default/2413546981313326291'/><link rel='alternate' type='text/html' href='http://akashsoni7.blogspot.com/2014/04/targetinvocationexception-was-unhandled.html' title='TargetInvocationException was unhandled &quot;Exception has been thrown by the target of an invocation.&quot; issue in WPF'/><author><name>Akash</name><uri>http://www.blogger.com/profile/03343674517768400422</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1053071547469008890.post-3918416828452595851</id><published>2014-04-02T15:15:00.002+05:30</published><updated>2014-04-04T13:02:41.001+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="C#"/><category scheme="http://www.blogger.com/atom/ns#" term="dot net"/><category scheme="http://www.blogger.com/atom/ns#" term="LINQ"/><title type='text'>&quot;if&quot; condition inside Select Clause of LINQ Query.</title><summary type="text">
In LINQ you can&#39;t use &quot;if&quot; statement directly in select clause, but you can achieve this by using ternary operator.

Consider you are querying an Array of object &amp;amp; the object internally contains another object. We have to select some field from inner object. But it may be chance that for some cases inner object is null. So to prevent your query from throwing &quot;Object Reference not set to </summary><link rel='replies' type='application/atom+xml' href='http://akashsoni7.blogspot.com/feeds/3918416828452595851/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://akashsoni7.blogspot.com/2014/04/if-condition-inside-select-clause-of.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1053071547469008890/posts/default/3918416828452595851'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1053071547469008890/posts/default/3918416828452595851'/><link rel='alternate' type='text/html' href='http://akashsoni7.blogspot.com/2014/04/if-condition-inside-select-clause-of.html' title='&quot;if&quot; condition inside Select Clause of LINQ Query.'/><author><name>Akash</name><uri>http://www.blogger.com/profile/03343674517768400422</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1053071547469008890.post-5392345320486264903</id><published>2013-07-23T11:02:00.000+05:30</published><updated>2013-07-23T12:12:56.203+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="C#"/><category scheme="http://www.blogger.com/atom/ns#" term="dot net"/><category scheme="http://www.blogger.com/atom/ns#" term="Null-Coalescing Operator"/><title type='text'>C# Null-Coalescing Operator (??)</title><summary type="text">
C# has an operator called Null-Coalescing Operator(??), this operator takes two operands. If left hand side operand is not null then it returns left hand side operand else it returns right hand side operands. It is very effective to assign default value to a variable.

This variable can be used with reference type as well as nullable value types. A sample code for the use of this operator is </summary><link rel='replies' type='application/atom+xml' href='http://akashsoni7.blogspot.com/feeds/5392345320486264903/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://akashsoni7.blogspot.com/2013/07/c-null-coalescing-operator.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1053071547469008890/posts/default/5392345320486264903'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1053071547469008890/posts/default/5392345320486264903'/><link rel='alternate' type='text/html' href='http://akashsoni7.blogspot.com/2013/07/c-null-coalescing-operator.html' title='C# Null-Coalescing Operator (??)'/><author><name>Akash</name><uri>http://www.blogger.com/profile/03343674517768400422</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1053071547469008890.post-3682400158451614445</id><published>2013-07-18T12:38:00.001+05:30</published><updated>2013-07-18T12:58:25.190+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="BackTrack"/><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><title type='text'>ERROR: Couldn&#39;t Find BOOTMGR while booting BackTrack via Bootable pendrive</title><summary type="text">
I was trying to boot my machine with Backtrack via bootable pendrive, but unfortunately I got an error by saying



Couldn&#39;t Find BOOTMGR

boot:




No need to worry, It has just not found the boot loader. so we will have load that by the command. Just write the following command and it will be start loading



boot: /casper/vmlinuz boot=casper initrd=/casper/initrd.gz text splash vga=791 &amp;nbsp;</summary><link rel='replies' type='application/atom+xml' href='http://akashsoni7.blogspot.com/feeds/3682400158451614445/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://akashsoni7.blogspot.com/2013/07/error-couldnt-find-bootmgr-while.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1053071547469008890/posts/default/3682400158451614445'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1053071547469008890/posts/default/3682400158451614445'/><link rel='alternate' type='text/html' href='http://akashsoni7.blogspot.com/2013/07/error-couldnt-find-bootmgr-while.html' title='ERROR: Couldn&#39;t Find BOOTMGR while booting BackTrack via Bootable pendrive'/><author><name>Akash</name><uri>http://www.blogger.com/profile/03343674517768400422</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1053071547469008890.post-4375455252856224133</id><published>2013-07-01T12:23:00.000+05:30</published><updated>2013-07-01T12:23:34.359+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="ArrayList"/><category scheme="http://www.blogger.com/atom/ns#" term="LINQ to Hashtable"/><category scheme="http://www.blogger.com/atom/ns#" term="WPF"/><category scheme="http://www.blogger.com/atom/ns#" term="XAML"/><title type='text'>How to declare Hashtable or ArrayList in XAML.</title><summary type="text">
To declare Hashtable or ArrayList in xaml, we need to include the System.Collection namespaces in XAML by using the below key
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;xmlns:col=&#39;clr-namespace:System.Collections;assembly=mscorlib&#39;
After declaring the namespace we can use all the class of System.Collection namespace with col: prefix

Code to Declare the HashTable in XAML:


&amp;lt;col:Hashtable x:Key=&#39;hash&#39;&amp;</summary><link rel='replies' type='application/atom+xml' href='http://akashsoni7.blogspot.com/feeds/4375455252856224133/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://akashsoni7.blogspot.com/2013/07/how-to-declare-hashtable-or-arraylist.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1053071547469008890/posts/default/4375455252856224133'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1053071547469008890/posts/default/4375455252856224133'/><link rel='alternate' type='text/html' href='http://akashsoni7.blogspot.com/2013/07/how-to-declare-hashtable-or-arraylist.html' title='How to declare Hashtable or ArrayList in XAML.'/><author><name>Akash</name><uri>http://www.blogger.com/profile/03343674517768400422</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1053071547469008890.post-7891225614658919709</id><published>2013-05-02T22:54:00.001+05:30</published><updated>2013-05-02T22:54:37.139+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="DataTriggers"/><category scheme="http://www.blogger.com/atom/ns#" term="ListBox"/><category scheme="http://www.blogger.com/atom/ns#" term="Triggers"/><category scheme="http://www.blogger.com/atom/ns#" term="WPF"/><category scheme="http://www.blogger.com/atom/ns#" term="XAML"/><title type='text'>Change Style of ListBoxItem when we use ItemTemplate in ListBox.</title><summary type="text">
We will see how can we change background and foreground of any ListBoxItem on MouseOver or on Selection, and for ListBoxItem, ItemTemplate is being used.

Consider a ListBox in XAML, in which, ListBoxItem contains multiple Label via ItemTemplate. Now you want the background color and the text color of the Labels to be changed on Mouse Over or on Selection of the Item. To achieve this we can use </summary><link rel='replies' type='application/atom+xml' href='http://akashsoni7.blogspot.com/feeds/7891225614658919709/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://akashsoni7.blogspot.com/2013/05/change-style-of-listboxitem-when-we-use.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1053071547469008890/posts/default/7891225614658919709'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1053071547469008890/posts/default/7891225614658919709'/><link rel='alternate' type='text/html' href='http://akashsoni7.blogspot.com/2013/05/change-style-of-listboxitem-when-we-use.html' title='Change Style of ListBoxItem when we use ItemTemplate in ListBox.'/><author><name>Akash</name><uri>http://www.blogger.com/profile/03343674517768400422</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgR-0Q6GceG8f1PQNAR6lUGbxY6xQLG0LehA0n2GwoSAz18leS61MSghBxWjrJ6gWnb-081tw403U8vGAg8ubunOCmVdouzN01HA4rLMgTIi2aC5h0KNeo0DXRJ8scSIv83RgSnvTTZwA/s72-c/ListBox_StyleOverride.png" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1053071547469008890.post-299954402978171153</id><published>2013-04-24T12:34:00.001+05:30</published><updated>2013-04-25T22:48:09.978+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Process"/><title type='text'>What is Process?</title><summary type="text">



Process: Any
program running in computer is a process. So there can be multiple processes
running in same computer or there can be single process running. Each and every
process will have own flow of control. In sequential execution environment, all
the process are executed in sequentially. In multiprocessor environment all the
process are switched forth and back.&amp;nbsp;



&amp;nbsp;



Each </summary><link rel='replies' type='application/atom+xml' href='http://akashsoni7.blogspot.com/feeds/299954402978171153/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://akashsoni7.blogspot.com/2013/04/what-is-process.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1053071547469008890/posts/default/299954402978171153'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1053071547469008890/posts/default/299954402978171153'/><link rel='alternate' type='text/html' href='http://akashsoni7.blogspot.com/2013/04/what-is-process.html' title='What is Process?'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/04802850286183240801</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1053071547469008890.post-883705466931555446</id><published>2013-01-10T16:00:00.000+05:30</published><updated>2013-01-10T17:27:18.300+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="C#"/><category scheme="http://www.blogger.com/atom/ns#" term="dot net"/><category scheme="http://www.blogger.com/atom/ns#" term="WPF"/><title type='text'>ComboBox in WPF DataGrid&#39;s Column Header</title><summary type="text">
Here, In this article, we are going to discuss, how can we add framework elements in WPF Datagrid&#39;s column header. We will add combo box in &amp;nbsp;the header. To add Combobox in the Header of DataGrid we use [GridColumn].Header tag. In the tag we can add any element directly.



&amp;lt;tools:DataGridTextColumn.Header&amp;gt;

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;ComboBox x:Name=&#39;txtCbo75P&#39; ItemsSource=&#39;{</summary><link rel='replies' type='application/atom+xml' href='http://akashsoni7.blogspot.com/feeds/883705466931555446/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://akashsoni7.blogspot.com/2013/01/combobox-in-wpf-datagrids-column-header.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1053071547469008890/posts/default/883705466931555446'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1053071547469008890/posts/default/883705466931555446'/><link rel='alternate' type='text/html' href='http://akashsoni7.blogspot.com/2013/01/combobox-in-wpf-datagrids-column-header.html' title='ComboBox in WPF DataGrid&#39;s Column Header'/><author><name>Akash</name><uri>http://www.blogger.com/profile/03343674517768400422</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhxggmm9csOtI9DYEU3eXDp3ei91KVsK9rZiRcBHX7ysz4vmVjOo3Th517t5Yr1iu3zIe1ad9TN5RMrW-o1F4z_6W3SFFjFuXiIIavbw0M07VK6KrGtfChkAcoTFS7nheb5ZqIidD5fIw/s72-c/FrameworkElementInHeader.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1053071547469008890.post-1438849651944982953</id><published>2013-01-09T22:36:00.001+05:30</published><updated>2013-01-10T17:27:09.625+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="C#"/><category scheme="http://www.blogger.com/atom/ns#" term="dot net"/><category scheme="http://www.blogger.com/atom/ns#" term="WPF"/><title type='text'>Create Nested headers in WPF DataGrid</title><summary type="text">
In WPF many times we may require to render a data grid which contains multilevel headers, for example we &amp;nbsp;have columns FirstName, LastName, Address1, Address2, City, State. Now we have to render a grid in which we have these columns these columns will have group name above the column header. It means there will be another level of header above these. In our case FirstName and LastName will </summary><link rel='replies' type='application/atom+xml' href='http://akashsoni7.blogspot.com/feeds/1438849651944982953/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://akashsoni7.blogspot.com/2013/01/create-multilevel-header-in-wpf-grid.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1053071547469008890/posts/default/1438849651944982953'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1053071547469008890/posts/default/1438849651944982953'/><link rel='alternate' type='text/html' href='http://akashsoni7.blogspot.com/2013/01/create-multilevel-header-in-wpf-grid.html' title='Create Nested headers in WPF DataGrid'/><author><name>Akash</name><uri>http://www.blogger.com/profile/03343674517768400422</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiKWjFB30nPDntKtQTqwYK8toPFRDKNmsolDsdITMMdv11OufFxwI2lOW0clDMMZR3ZU3KL_UxdzphGibS00dB-Ohlb_XkSATfUcw3Rm00Lapyt6N_3f6U36sScK-A55O0i06voOuP1Aw/s72-c/multilevelgrid.png" height="72" width="72"/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1053071547469008890.post-7903540792115399269</id><published>2012-12-22T20:17:00.000+05:30</published><updated>2012-12-22T20:18:09.378+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="C#"/><category scheme="http://www.blogger.com/atom/ns#" term="dot net"/><category scheme="http://www.blogger.com/atom/ns#" term="StringFormat"/><category scheme="http://www.blogger.com/atom/ns#" term="WPF"/><category scheme="http://www.blogger.com/atom/ns#" term="XAML"/><title type='text'>WPF StringFormat example in Binding</title><summary type="text">&lt;!--[if gte mso 9]&gt;
 
  
 
&lt;![endif]--&gt;
&lt;!--[if gte mso 9]&gt;
 
  Normal
  0
  
  
  
  
  false
  false
  false
  
  EN-IN
  X-NONE
  X-NONE
  
   
   
   
   
   
   
   
   
   
  
  
   
   
   
   
   
   
   
   
   
   
   
  
&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;
 
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
</summary><link rel='replies' type='application/atom+xml' href='http://akashsoni7.blogspot.com/feeds/7903540792115399269/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://akashsoni7.blogspot.com/2012/12/wpf-stringformat-example-in-binding.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1053071547469008890/posts/default/7903540792115399269'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1053071547469008890/posts/default/7903540792115399269'/><link rel='alternate' type='text/html' href='http://akashsoni7.blogspot.com/2012/12/wpf-stringformat-example-in-binding.html' title='WPF StringFormat example in Binding'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/04802850286183240801</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg9_xVBIDngfW_FDm4fJBTv6Jxju7l5eGsheHQz2D2UhlmOJkeaSjF5_d7qhL29p2Ts5eRUUzxuihogQk7hp-0FPdJz9BhLCJz00Jyyb78tUuotgn07M8KWYFLRDfR1VCMY6RisWufzXw4/s72-c/Without+Binding.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1053071547469008890.post-5043020860410815354</id><published>2012-12-22T15:19:00.000+05:30</published><updated>2012-12-24T13:15:06.534+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Entertainment"/><category scheme="http://www.blogger.com/atom/ns#" term="QUOTES"/><title type='text'>Difference between BOSS and LEADER</title><summary type="text">
&lt;!--[if gte mso 9]&gt;
 
  
 
&lt;![endif]--&gt;
&lt;!--[if gte mso 9]&gt;
 
  Normal
  0
  
  
  
  
  false
  false
  false
  
  EN-IN
  X-NONE
  X-NONE
  
   
   
   
   
   
   
   
   
   
  
  
   
   
   
   
   
   
   
   
   
   
   
  
&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;
 
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
</summary><link rel='replies' type='application/atom+xml' href='http://akashsoni7.blogspot.com/feeds/5043020860410815354/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://akashsoni7.blogspot.com/2012/12/difference-between-boss-and-leader.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1053071547469008890/posts/default/5043020860410815354'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1053071547469008890/posts/default/5043020860410815354'/><link rel='alternate' type='text/html' href='http://akashsoni7.blogspot.com/2012/12/difference-between-boss-and-leader.html' title='Difference between BOSS and LEADER'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/04802850286183240801</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhQkTQXIl0BADxn6QvUQ5twojYXaf3JOzD6WTJDhcmS5o58I7OnwisM8k6HcuMlhylOjl3FtDi-aZPY2ni2spxgCrMVauYioiEdU-_BBp3VwoTzSjzsPsNW9HTdIycO1MW4BxpPV-4Nxg8/s72-c/boss+vs+leader.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1053071547469008890.post-6833948941699924413</id><published>2012-12-17T19:16:00.002+05:30</published><updated>2014-05-02T14:09:49.522+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="LINQ"/><category scheme="http://www.blogger.com/atom/ns#" term="LINQ to Hashtable"/><category scheme="http://www.blogger.com/atom/ns#" term="LINQ to Object"/><title type='text'>Custom / Partial Projection in LINQ to Hashtable / Dictionary</title><summary type="text">

Like SQL we can project partial or custom data in output. In the output of LINQ Query it will be an enumerable collection of anonymous&amp;nbsp;type. This anonymous type is being created by using new&amp;nbsp;operator in the select clause and member fields are generated dynamically in the select new&amp;nbsp;part of the LINQ.



Consider a data dictionary and structure as followed:



public static </summary><link rel='replies' type='application/atom+xml' href='http://akashsoni7.blogspot.com/feeds/6833948941699924413/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://akashsoni7.blogspot.com/2012/12/custom-partial-projection-in-linq-to.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1053071547469008890/posts/default/6833948941699924413'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1053071547469008890/posts/default/6833948941699924413'/><link rel='alternate' type='text/html' href='http://akashsoni7.blogspot.com/2012/12/custom-partial-projection-in-linq-to.html' title='Custom / Partial Projection in LINQ to Hashtable / Dictionary'/><author><name>Akash</name><uri>http://www.blogger.com/profile/03343674517768400422</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1053071547469008890.post-703831437029905003</id><published>2012-12-17T13:46:00.000+05:30</published><updated>2012-12-17T13:47:44.442+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="dot net"/><category scheme="http://www.blogger.com/atom/ns#" term="LINQ"/><category scheme="http://www.blogger.com/atom/ns#" term="LINQ to Hashtable"/><category scheme="http://www.blogger.com/atom/ns#" term="LINQ to Object"/><title type='text'>Where Clause with LINQ to Hashtable / Dictionaries</title><summary type="text">

In this article, we will discuss How can we use where clause in LINQ to Object(Hastable / Dictionaries). Many time &amp;nbsp;while working with the Dictionaries or Hashtables, we may require to find out the values from them which satisfies some specific criteria. In that case we used to write iterations and then find the values which satisfies the criteria. Maybe writing the loop is a easy task for</summary><link rel='replies' type='application/atom+xml' href='http://akashsoni7.blogspot.com/feeds/703831437029905003/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://akashsoni7.blogspot.com/2012/12/where-clause-with-linq-to-hashtable.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1053071547469008890/posts/default/703831437029905003'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1053071547469008890/posts/default/703831437029905003'/><link rel='alternate' type='text/html' href='http://akashsoni7.blogspot.com/2012/12/where-clause-with-linq-to-hashtable.html' title='Where Clause with LINQ to Hashtable / Dictionaries'/><author><name>Akash</name><uri>http://www.blogger.com/profile/03343674517768400422</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhy1Tvd67VCnU-JvUJTNHRUJe6kfd96m5GcP17dYvmhlnyDAZzCLElzuQ5EVS1oJjwhY59jSPKFxAXQfnhjGqKPCxfCbhOjW-_hn8KzPhcbmgAMrIG6jCRajYrA1fCXwTOx2GoxJHDdCg/s72-c/LINQ_Where.png" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1053071547469008890.post-1605809189936526752</id><published>2012-12-16T15:29:00.000+05:30</published><updated>2012-12-17T13:47:58.580+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="dot net"/><category scheme="http://www.blogger.com/atom/ns#" term="LINQ"/><category scheme="http://www.blogger.com/atom/ns#" term="LINQ to Hashtable"/><category scheme="http://www.blogger.com/atom/ns#" term="LINQ to Object"/><title type='text'>LINQ: Join operations on Hashtables / Dictionaries</title><summary type="text">




In this example we will discuss, how to perform Join operation on dictionaries / hash tables.&amp;nbsp;

Consider 2 Dictionaries, one dictionary contains Roll No (Int) as key and a Structure (marks) (which contains marks of student)&amp;nbsp;as value. Another dictionary contains Roll No(Int) as key and Name of Student (String) as value. Now we have to find name of students and corresponding marks of</summary><link rel='replies' type='application/atom+xml' href='http://akashsoni7.blogspot.com/feeds/1605809189936526752/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://akashsoni7.blogspot.com/2012/12/linq-join-operations-on-2-hashtables.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1053071547469008890/posts/default/1605809189936526752'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1053071547469008890/posts/default/1605809189936526752'/><link rel='alternate' type='text/html' href='http://akashsoni7.blogspot.com/2012/12/linq-join-operations-on-2-hashtables.html' title='LINQ: Join operations on Hashtables / Dictionaries'/><author><name>Akash</name><uri>http://www.blogger.com/profile/03343674517768400422</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1053071547469008890.post-4451204448133305235</id><published>2012-12-15T17:15:00.001+05:30</published><updated>2012-12-15T17:22:17.424+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="C#"/><category scheme="http://www.blogger.com/atom/ns#" term="Delegates"/><category scheme="http://www.blogger.com/atom/ns#" term="dot net"/><category scheme="http://www.blogger.com/atom/ns#" term="Events"/><title type='text'>C# Sending Information / data from Child to Parent class using events and delgates</title><summary type="text">In the previous post C# Notify Parent From Child using events and delegates , we were just notifying the parent class about some processing happening in the child class.

&amp;nbsp;But we were not sending any information or data to parent class about what processing is happening in child class. We have taken the same example taken in C# Notify Parent From Child using events and delegates  and </summary><link rel='replies' type='application/atom+xml' href='http://akashsoni7.blogspot.com/feeds/4451204448133305235/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://akashsoni7.blogspot.com/2012/12/c-sending-information-data-from-child.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1053071547469008890/posts/default/4451204448133305235'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1053071547469008890/posts/default/4451204448133305235'/><link rel='alternate' type='text/html' href='http://akashsoni7.blogspot.com/2012/12/c-sending-information-data-from-child.html' title='C# Sending Information / data from Child to Parent class using events and delgates'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/04802850286183240801</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgLhAM3Ir33GA4BWdqgERtKamUTWhK24u4ctyhxwTz1ef1DiqLlGt9Meh4vLPkbteoHu6njhdVb_BfuLIRH8w_TsY3WTAWRGzmfDmMpj_D6cuX9FMCpczJN37jTRZ_VokEMy9oq3smjY5g/s72-c/Send+Data+from+Child+to+PArent.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1053071547469008890.post-7665140904591138641</id><published>2012-12-15T16:40:00.001+05:30</published><updated>2012-12-15T16:40:34.553+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="LINQ"/><category scheme="http://www.blogger.com/atom/ns#" term="LINQ to Object"/><title type='text'>Operations on specific elements of array by using LINQ</title><summary type="text">
Here I am considering count operation has to be performed on array. As we know that if sum of specific elements of array is to be found, then we have to iterate the array and check whether element of the array satisfies the predicate or not. If it satisfies then increase the count else ignore it. But how is it, if I say that we need not to iterate the array to find the count or any such kind of </summary><link rel='replies' type='application/atom+xml' href='http://akashsoni7.blogspot.com/feeds/7665140904591138641/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://akashsoni7.blogspot.com/2012/12/operations-on-specific-elements-of.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1053071547469008890/posts/default/7665140904591138641'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1053071547469008890/posts/default/7665140904591138641'/><link rel='alternate' type='text/html' href='http://akashsoni7.blogspot.com/2012/12/operations-on-specific-elements-of.html' title='Operations on specific elements of array by using LINQ'/><author><name>Akash</name><uri>http://www.blogger.com/profile/03343674517768400422</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1053071547469008890.post-1377978974898811777</id><published>2012-12-15T13:04:00.000+05:30</published><updated>2013-01-10T17:27:37.852+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="C#"/><category scheme="http://www.blogger.com/atom/ns#" term="dot net"/><category scheme="http://www.blogger.com/atom/ns#" term="LINQ"/><title type='text'>Introduction to LINQ</title><summary type="text">
Language INtegrated Query (LINQ) was introduced very 1st with the .Net framework 3.5. it bridges the gap between the world of objects and world of data.
LINQ extends the language by so called query expressions, which looks like a SQL Statement, by which we can extract and process data from array, Enumerable collection of classes, XML documents, MS SQL Tables, third party data sources etc.

List </summary><link rel='replies' type='application/atom+xml' href='http://akashsoni7.blogspot.com/feeds/1377978974898811777/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://akashsoni7.blogspot.com/2012/12/introduction-to-linq.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1053071547469008890/posts/default/1377978974898811777'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1053071547469008890/posts/default/1377978974898811777'/><link rel='alternate' type='text/html' href='http://akashsoni7.blogspot.com/2012/12/introduction-to-linq.html' title='Introduction to LINQ'/><author><name>Akash</name><uri>http://www.blogger.com/profile/03343674517768400422</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1053071547469008890.post-477063345784132675</id><published>2012-12-15T00:09:00.003+05:30</published><updated>2013-01-10T17:27:54.389+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="C#"/><category scheme="http://www.blogger.com/atom/ns#" term="Delegates"/><category scheme="http://www.blogger.com/atom/ns#" term="dot net"/><category scheme="http://www.blogger.com/atom/ns#" term="Events"/><title type='text'>C# Notify Parent From Child using events and delegates</title><summary type="text">While creating an application, we often come across scenarios where we have parent child relationship between objects.

When we want to pass some information from parent to child, it is very simple as we have the reference of the child object in the parent and we pass the information using message passing technique, where we call some public method of child and achieve the desired result.

But </summary><link rel='replies' type='application/atom+xml' href='http://akashsoni7.blogspot.com/feeds/477063345784132675/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://akashsoni7.blogspot.com/2012/12/c-notify-parent-from-child-using-events.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1053071547469008890/posts/default/477063345784132675'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1053071547469008890/posts/default/477063345784132675'/><link rel='alternate' type='text/html' href='http://akashsoni7.blogspot.com/2012/12/c-notify-parent-from-child-using-events.html' title='C# Notify Parent From Child using events and delegates'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/04802850286183240801</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiGn9WKj9WibHwwVWAGfa6CYNNr0daqixt4aVFCjX4Tn6U7a7PFxjsbhXBNK2HQU9a_WjRsfI_QGdui1vydzUE9CYRzUElF4_NNWZMRoz4zV6bzyW2mDpk2-BLT03ZTN89TXqvwiNkrXTE/s72-c/RaiseEvent+FromParent.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1053071547469008890.post-4627373230264142649</id><published>2012-12-14T10:55:00.004+05:30</published><updated>2012-12-14T10:56:51.379+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="C#"/><category scheme="http://www.blogger.com/atom/ns#" term="Delegates"/><category scheme="http://www.blogger.com/atom/ns#" term="dot net"/><title type='text'>events in C#</title><summary type="text">

An event allows a class or resource to notify the other classes or resource, when something required event occurs. The resource that raises the events is knows as publisher and the resource that handles the event is known as subscriber. In C# visual application we handle events like button clicked, combo box selection changed events etc.&amp;nbsp;Similarly,&amp;nbsp;we can raise our custom events when </summary><link rel='replies' type='application/atom+xml' href='http://akashsoni7.blogspot.com/feeds/4627373230264142649/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://akashsoni7.blogspot.com/2012/12/events-in-c.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1053071547469008890/posts/default/4627373230264142649'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1053071547469008890/posts/default/4627373230264142649'/><link rel='alternate' type='text/html' href='http://akashsoni7.blogspot.com/2012/12/events-in-c.html' title='events in C#'/><author><name>Akash</name><uri>http://www.blogger.com/profile/03343674517768400422</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1053071547469008890.post-1188409587799099544</id><published>2012-12-13T11:29:00.001+05:30</published><updated>2012-12-13T15:27:22.817+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="C#"/><category scheme="http://www.blogger.com/atom/ns#" term="Delegates"/><category scheme="http://www.blogger.com/atom/ns#" term="dot net"/><title type='text'>delegates in C#</title><summary type="text">
A delegate&amp;nbsp;is a type that references a method. Once a delegate is bound to a method, it behaves like method. It can be used like other methods.



public delegate void valueEntered(string value);




Any&amp;nbsp;method that matches the delegate&#39;s signature including return type, parameters etc, can be assigned to the delegate.

delegate&#39;s Overview


It is like a function pointer in C++.
It </summary><link rel='replies' type='application/atom+xml' href='http://akashsoni7.blogspot.com/feeds/1188409587799099544/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://akashsoni7.blogspot.com/2012/12/delegates-c.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1053071547469008890/posts/default/1188409587799099544'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1053071547469008890/posts/default/1188409587799099544'/><link rel='alternate' type='text/html' href='http://akashsoni7.blogspot.com/2012/12/delegates-c.html' title='delegates in C#'/><author><name>Akash</name><uri>http://www.blogger.com/profile/03343674517768400422</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>