<?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-2780454567834772883</id><updated>2025-10-22T12:28:06.339+05:30</updated><category term=".net 3.0 turorial gujarati"/><category term=".net 3.5"/><category term="ASP.NET"/><category term="ASp.NET MVC"/><category term="Object Oriented programming C#.net"/><category term=".net 3.0"/><category term=".net 3.0 ફ્રેમવર્ક"/><category term=".net 3.0/3.5"/><category term=".net gujarati"/><category term=".net interview"/><category term="Active MarkUp v/s Passive Markup"/><category term="Android"/><category term="Asp.net  Page Life Cycle"/><category term="Atom 1.0"/><category term="Atom v/s RSS"/><category term="Authentication"/><category term="Authorization"/><category term="CMS"/><category term="CSS"/><category term="Cloud computing"/><category term="Clustered Index  and non Clustered Index"/><category term="DATABASE"/><category term="Dispatcher"/><category term="Dotnet"/><category term="Exntetion method for IComparable"/><category term="Exponential Backoff"/><category term="Feed"/><category term="Free Software"/><category term="GUID"/><category term="Graph Theory"/><category term="Gujarati"/><category term="Gujarati SQL"/><category term="HTML5"/><category term="HTML5 validation"/><category term="IE 10"/><category term="IIS"/><category term="IaaS"/><category term="Interfaces versus Abstract classes"/><category term="Legacy URL routing"/><category term="MVVM"/><category term="Microsoft Expression Blend"/><category term="OOPs"/><category term="OOPs  in Javascript  for C#.NET  developer"/><category term="PaaS"/><category term="Pivot"/><category term="Quirk mode"/><category term="RSS 2.0"/><category term="SOA"/><category term="SQL Azure"/><category term="SQL Gujarati"/><category term="SQL Normalization"/><category term="SaaS"/><category term="T-SQL"/><category term="Visual Studio"/><category term="WF"/><category term="WPF"/><category term="WWF.net WCF.net"/><category term="Web.config"/><category term="Window Auzre"/><category term="Winform"/><category term="Workflow foundation"/><category term="asp.net caching"/><category term="bottom"/><category term="connection string"/><category term="cross-site scripting attacks"/><category term="decompile"/><category term="encrypt"/><category term="generics"/><category term="http and  https"/><category term="iframe"/><category term="immutable  types  .NET"/><category term="modern browser"/><category term="trick amd tips"/><category term="viewstate"/><category term="viewstate  at bottom"/><category term="web standard"/><category term="webform and MVC  asp.net"/><category term="webform v/s MVC"/><category term="website compression"/><title type='text'>ICollection&amp;lt;Knowledge&amp;gt;</title><subtitle type='html'>Hi Friends,&#xa;  I am  Divyang Panchasara. I  am  very much interested in Computer Science , Physics and maths and &#xa;microsoft technology development</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://divyang4481.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2780454567834772883/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://divyang4481.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/2780454567834772883/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>divyang4481</name><uri>http://www.blogger.com/profile/10981719905554797424</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>74</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-2780454567834772883.post-1307585432413020627</id><published>2023-06-21T20:44:00.005+05:30</published><updated>2023-06-21T21:18:20.656+05:30</updated><title type='text'>A Comparison of Java Stream API and C# LINQ for Declarative Collection Operations</title><content type='html'>&lt;!--Place this tag in your head or just before your close body tag--&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;

&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh8Rc1E6g0ExRm8zcCmqtxLrw5VsayMfPeWQj49bGKjQCUpWQROap7ugoOPhI90yVTwMpncnjI8Fq73KztAMyvA3SVq95ivjE7IznQ9IIVqVZJB7lyOyL1pFoV3Barf6QppF0IsfEBPeDo7WwhiPEmqjAcjaGnN-US8cJhCovye_X-N4z28CgHwBDjnWS0/s1640/01.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;LINQ vs Stream API&quot; border=&quot;0&quot; data-original-height=&quot;664&quot; data-original-width=&quot;1640&quot; height=&quot;202&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh8Rc1E6g0ExRm8zcCmqtxLrw5VsayMfPeWQj49bGKjQCUpWQROap7ugoOPhI90yVTwMpncnjI8Fq73KztAMyvA3SVq95ivjE7IznQ9IIVqVZJB7lyOyL1pFoV3Barf6QppF0IsfEBPeDo7WwhiPEmqjAcjaGnN-US8cJhCovye_X-N4z28CgHwBDjnWS0/w499-h202/01.jpg&quot; title=&quot;C# LINQ vs Stream API&quot; width=&quot;499&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;Java Stream API and C# LINQ share a common goal of working
with collections in a declarative approach. While LINQ has been around since
2007 with the .NET Framework 3.5, Java Stream API is a more recent addition
introduced with Java 8 in 2014. Although both support functional programming
paradigms, they differ in their syntax and usage. In this article, we will
compare these two.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;Syntax and Language Integration:&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;Both Java Stream API and C# LINQ provide declarative
approaches for dealing with collections and support functional paradigms. LINQ
goes a step further by also supporting SQL-like query expressions, providing a
more comprehensive declarative approach. The Stream API, on the other hand, is
a library in Java and does not have direct integration with language features.
However, it can be used with other language features such as lambda
expressions, method references, and default methods in interfaces.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;Functional Programming Paradigm:&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;Both Java Stream API and C# LINQ embrace functional
programming principles. They allow you to write concise and expressive code by
utilizing lambda expressions and functional interfaces. Java Stream API
provides functional interfaces such as Predicate, Function, and Consumer, while
C# LINQ supports lambda expressions and functional interfaces like Func and
Action.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;Lazy Evaluation and Eager Evaluation:&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;Java Stream API and C# LINQ both follow the principle of
lazy evaluation. Intermediate operations in both APIs are not executed until a
terminal operation is called. This approach enables more efficient processing
of large datasets, as only the required data is processed when needed.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;Database Integration:&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;The Java Stream API primarily focuses on in-memory
collections and does not have built-in support for direct database integration.
However, libraries like Hibernate provide integration between Java streams and
databases. On the other hand, C# LINQ has extensive support for querying
databases. It seamlessly integrates with Entity Framework, LINQ to SQL, and
other ORMs, allowing you to write LINQ queries directly against the database.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;Asynchronous Programming:&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;Java 8 introduced CompletableFuture, which can be combined
with the Stream API for asynchronous processing of data streams. Parallel
stream processing can be achieved using the parallel() method. In C#,
asynchronous programming is facilitated by the async and await keywords. LINQ
queries can be combined with Task and async methods to execute queries
asynchronously.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;Comparison of Collection Operations between LINQ and Stream
API:&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;Filtering Elements:&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;Both LINQ and Stream API offer methods for filtering
elements based on specific conditions. In LINQ, you can use the Where() method,
while Stream API provides the filter() method.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;ul style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #f7f7f8; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; color: #374151; display: flex; flex-direction: column; font-family: Söhne, ui-sans-serif, system-ui, -apple-system, &amp;quot;Segoe UI&amp;quot;, Roboto, Ubuntu, Cantarell, &amp;quot;Noto Sans&amp;quot;, sans-serif, &amp;quot;Helvetica Neue&amp;quot;, Arial, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; list-style-image: initial; list-style-position: initial; margin: 0px; padding: 0px 0px 0px 1rem; white-space-collapse: preserve;&quot;&gt;&lt;li style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; display: block; margin: 0px; padding-left: 0.375em; position: relative;&quot;&gt;Java Stream API:&lt;pre style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: transparent; border-radius: 0.375rem; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; color: currentcolor; font-family: &amp;quot;Söhne Mono&amp;quot;, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 0.875em; line-height: 1.71429; margin-bottom: 0px; margin-top: 0px; overflow-x: auto; padding: 0px;&quot;&gt;&lt;div class=&quot;bg-black rounded-md mb-4&quot; style=&quot;--tw-bg-opacity: 1; --tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: rgba(0,0,0,var(--tw-bg-opacity)); border-radius: 0.375rem; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; margin-bottom: 1rem;&quot;&gt;&lt;div class=&quot;flex items-center relative text-gray-200 bg-gray-800 px-4 py-2 text-xs font-sans justify-between rounded-t-md&quot; style=&quot;--tw-bg-opacity: 1; --tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-text-opacity: 1; --tw-translate-x: 0; --tw-translate-y: 0; align-items: center; background-color: rgba(52,53,65,var(--tw-bg-opacity)); border-top-left-radius: 0.375rem; border-top-right-radius: 0.375rem; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; color: rgba(217,217,227,var(--tw-text-opacity)); display: flex; font-family: Söhne, ui-sans-serif, system-ui, -apple-system, &amp;quot;Segoe UI&amp;quot;, Roboto, Ubuntu, Cantarell, &amp;quot;Noto Sans&amp;quot;, sans-serif, &amp;quot;Helvetica Neue&amp;quot;, Arial, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 0.75rem; justify-content: space-between; line-height: 1rem; padding: 0.5rem 1rem; position: relative;&quot;&gt;&lt;span style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 0px solid rgb(217, 217, 227); box-sizing: border-box;&quot;&gt;java&lt;/span&gt;&lt;button class=&quot;flex ml-auto gap-2&quot; style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; appearance: button; background-image: none; border-color: rgb(217, 217, 227); border-style: solid; border-width: 0px; cursor: pointer; display: flex; font-family: inherit; font-size: 12px; font-weight: inherit; gap: 0.5rem; line-height: inherit; margin: 0px 0px 0px auto; padding: 0px;&quot;&gt;&lt;br /&gt;&lt;/button&gt;&lt;/div&gt;&lt;div class=&quot;p-4 overflow-y-auto&quot; style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; overflow-y: auto; padding: 1rem;&quot;&gt;&lt;code class=&quot;!whitespace-pre hljs language-java&quot; style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background: none; border-radius: 0.3em; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; color: white; font-family: inherit; font-size: inherit; font-weight: inherit; hyphens: none; line-height: 1.5; overflow-wrap: normal; padding: 0.1em; tab-size: 4; white-space: normal; word-break: normal; word-spacing: normal;&quot;&gt;stream.filter(element -&amp;gt; element &amp;gt; &lt;span class=&quot;hljs-number&quot; style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; color: #df3079;&quot;&gt;5&lt;/span&gt;)
      .forEach(System.out::println);
&lt;/code&gt;&lt;/div&gt;&lt;/div&gt;&lt;/pre&gt;&lt;/li&gt;&lt;li style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; display: block; margin: 0px; padding-left: 0.375em; position: relative;&quot;&gt;C# LINQ:&lt;pre style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: transparent; border-radius: 0.375rem; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; color: currentcolor; font-family: &amp;quot;Söhne Mono&amp;quot;, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 0.875em; line-height: 1.71429; margin-bottom: 0px; margin-top: 0px; overflow-x: auto; padding: 0px;&quot;&gt;&lt;div class=&quot;bg-black rounded-md mb-4&quot; style=&quot;--tw-bg-opacity: 1; --tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: rgba(0,0,0,var(--tw-bg-opacity)); border-radius: 0.375rem; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; margin-bottom: 1rem;&quot;&gt;&lt;div class=&quot;flex items-center relative text-gray-200 bg-gray-800 px-4 py-2 text-xs font-sans justify-between rounded-t-md&quot; style=&quot;--tw-bg-opacity: 1; --tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-text-opacity: 1; --tw-translate-x: 0; --tw-translate-y: 0; align-items: center; background-color: rgba(52,53,65,var(--tw-bg-opacity)); border-top-left-radius: 0.375rem; border-top-right-radius: 0.375rem; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; color: rgba(217,217,227,var(--tw-text-opacity)); display: flex; font-family: Söhne, ui-sans-serif, system-ui, -apple-system, &amp;quot;Segoe UI&amp;quot;, Roboto, Ubuntu, Cantarell, &amp;quot;Noto Sans&amp;quot;, sans-serif, &amp;quot;Helvetica Neue&amp;quot;, Arial, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 0.75rem; justify-content: space-between; line-height: 1rem; padding: 0.5rem 1rem; position: relative;&quot;&gt;&lt;span style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 0px solid rgb(217, 217, 227); box-sizing: border-box;&quot;&gt;csharp&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;p-4 overflow-y-auto&quot; style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; overflow-y: auto; padding: 1rem;&quot;&gt;&lt;code class=&quot;!whitespace-pre hljs language-csharp&quot; style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background: none; border-radius: 0.3em; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; color: white; font-family: inherit; font-size: inherit; font-weight: inherit; hyphens: none; line-height: 1.5; overflow-wrap: normal; padding: 0.1em; tab-size: 4; white-space: normal; word-break: normal; word-spacing: normal;&quot;&gt;&lt;span class=&quot;hljs-keyword&quot; style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; color: #2e95d3;&quot;&gt;var&lt;/span&gt; filtered = collection.Where(element =&amp;gt; element &amp;gt; &lt;span class=&quot;hljs-number&quot; style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; color: #df3079;&quot;&gt;5&lt;/span&gt;);
&lt;span class=&quot;hljs-keyword&quot; style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; color: #2e95d3;&quot;&gt;foreach&lt;/span&gt; (&lt;span class=&quot;hljs-keyword&quot; style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; color: #2e95d3;&quot;&gt;var&lt;/span&gt; element &lt;span class=&quot;hljs-keyword&quot; style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; color: #2e95d3;&quot;&gt;in&lt;/span&gt; filtered)
{
    Console.WriteLine(element);
}&lt;/code&gt;&lt;/div&gt;&lt;/div&gt;&lt;/pre&gt;&lt;/li&gt;&lt;/ul&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;Mapping Elements:&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;Both LINQ and Stream API provide methods for transforming
elements. LINQ offers the Select() method, while Stream API provides the map()
method.&amp;nbsp;&lt;/p&gt;&lt;ul style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #f7f7f8; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; color: #374151; display: flex; flex-direction: column; font-family: Söhne, ui-sans-serif, system-ui, -apple-system, &amp;quot;Segoe UI&amp;quot;, Roboto, Ubuntu, Cantarell, &amp;quot;Noto Sans&amp;quot;, sans-serif, &amp;quot;Helvetica Neue&amp;quot;, Arial, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; list-style-image: initial; list-style-position: initial; margin: 0px; padding: 0px 0px 0px 1rem; white-space-collapse: preserve;&quot;&gt;&lt;li style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; display: block; margin: 0px; padding-left: 0.375em; position: relative;&quot;&gt;Java Stream API:&lt;pre style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: transparent; border-radius: 0.375rem; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; color: currentcolor; font-family: &amp;quot;Söhne Mono&amp;quot;, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 0.875em; line-height: 1.71429; margin-bottom: 0px; margin-top: 0px; overflow-x: auto; padding: 0px;&quot;&gt;&lt;div class=&quot;bg-black rounded-md mb-4&quot; style=&quot;--tw-bg-opacity: 1; --tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: rgba(0,0,0,var(--tw-bg-opacity)); border-radius: 0.375rem; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; margin-bottom: 1rem;&quot;&gt;&lt;div class=&quot;flex items-center relative text-gray-200 bg-gray-800 px-4 py-2 text-xs font-sans justify-between rounded-t-md&quot; style=&quot;--tw-bg-opacity: 1; --tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-text-opacity: 1; --tw-translate-x: 0; --tw-translate-y: 0; align-items: center; background-color: rgba(52,53,65,var(--tw-bg-opacity)); border-top-left-radius: 0.375rem; border-top-right-radius: 0.375rem; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; color: rgba(217,217,227,var(--tw-text-opacity)); display: flex; font-family: Söhne, ui-sans-serif, system-ui, -apple-system, &amp;quot;Segoe UI&amp;quot;, Roboto, Ubuntu, Cantarell, &amp;quot;Noto Sans&amp;quot;, sans-serif, &amp;quot;Helvetica Neue&amp;quot;, Arial, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 0.75rem; justify-content: space-between; line-height: 1rem; padding: 0.5rem 1rem; position: relative;&quot;&gt;&lt;span style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 0px solid rgb(217, 217, 227); box-sizing: border-box;&quot;&gt;java&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;p-4 overflow-y-auto&quot; style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; overflow-y: auto; padding: 1rem;&quot;&gt;&lt;code class=&quot;!whitespace-pre hljs language-java&quot; style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background: none; border-radius: 0.3em; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; color: white; font-family: inherit; font-size: inherit; font-weight: inherit; hyphens: none; line-height: 1.5; overflow-wrap: normal; padding: 0.1em; tab-size: 4; white-space: normal; word-break: normal; word-spacing: normal;&quot;&gt;stream.map(element -&amp;gt; element * &lt;span class=&quot;hljs-number&quot; style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; color: #df3079;&quot;&gt;2&lt;/span&gt;)
      .forEach(System.out::println);
&lt;/code&gt;&lt;/div&gt;&lt;/div&gt;&lt;/pre&gt;&lt;/li&gt;&lt;li style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; display: block; margin: 0px; padding-left: 0.375em; position: relative;&quot;&gt;C# LINQ:&lt;pre style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: transparent; border-radius: 0.375rem; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; color: currentcolor; font-family: &amp;quot;Söhne Mono&amp;quot;, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 0.875em; line-height: 1.71429; margin-bottom: 0px; margin-top: 0px; overflow-x: auto; padding: 0px;&quot;&gt;&lt;div class=&quot;bg-black rounded-md mb-4&quot; style=&quot;--tw-bg-opacity: 1; --tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: rgba(0,0,0,var(--tw-bg-opacity)); border-radius: 0.375rem; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; margin-bottom: 1rem;&quot;&gt;&lt;div class=&quot;flex items-center relative text-gray-200 bg-gray-800 px-4 py-2 text-xs font-sans justify-between rounded-t-md&quot; style=&quot;--tw-bg-opacity: 1; --tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-text-opacity: 1; --tw-translate-x: 0; --tw-translate-y: 0; align-items: center; background-color: rgba(52,53,65,var(--tw-bg-opacity)); border-top-left-radius: 0.375rem; border-top-right-radius: 0.375rem; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; color: rgba(217,217,227,var(--tw-text-opacity)); display: flex; font-family: Söhne, ui-sans-serif, system-ui, -apple-system, &amp;quot;Segoe UI&amp;quot;, Roboto, Ubuntu, Cantarell, &amp;quot;Noto Sans&amp;quot;, sans-serif, &amp;quot;Helvetica Neue&amp;quot;, Arial, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 0.75rem; justify-content: space-between; line-height: 1rem; padding: 0.5rem 1rem; position: relative;&quot;&gt;&lt;span style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 0px solid rgb(217, 217, 227); box-sizing: border-box;&quot;&gt;csharp&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;p-4 overflow-y-auto&quot; style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; overflow-y: auto; padding: 1rem;&quot;&gt;&lt;code class=&quot;!whitespace-pre hljs language-csharp&quot; style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background: none; border-radius: 0.3em; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; color: white; font-family: inherit; font-size: inherit; font-weight: inherit; hyphens: none; line-height: 1.5; overflow-wrap: normal; padding: 0.1em; tab-size: 4; white-space: normal; word-break: normal; word-spacing: normal;&quot;&gt;&lt;span class=&quot;hljs-keyword&quot; style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; color: #2e95d3;&quot;&gt;var&lt;/span&gt; mapped = collection.Select(element =&amp;gt; element * &lt;span class=&quot;hljs-number&quot; style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; color: #df3079;&quot;&gt;2&lt;/span&gt;);
&lt;span class=&quot;hljs-keyword&quot; style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; color: #2e95d3;&quot;&gt;foreach&lt;/span&gt; (&lt;span class=&quot;hljs-keyword&quot; style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; color: #2e95d3;&quot;&gt;var&lt;/span&gt; element &lt;span class=&quot;hljs-keyword&quot; style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; color: #2e95d3;&quot;&gt;in&lt;/span&gt; mapped)
{
    Console.WriteLine(element);
}&lt;/code&gt;&lt;/div&gt;&lt;/div&gt;&lt;/pre&gt;&lt;/li&gt;&lt;/ul&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;Sorting Elements:&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;Both LINQ and Stream API allow sorting elements. In LINQ,
you can use the OrderBy() or OrderByDescending() methods, while Stream API
provides the sorted() method.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;ul style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #f7f7f8; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; color: #374151; display: flex; flex-direction: column; font-family: Söhne, ui-sans-serif, system-ui, -apple-system, &amp;quot;Segoe UI&amp;quot;, Roboto, Ubuntu, Cantarell, &amp;quot;Noto Sans&amp;quot;, sans-serif, &amp;quot;Helvetica Neue&amp;quot;, Arial, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; list-style-image: initial; list-style-position: initial; margin: 0px; padding: 0px 0px 0px 1rem; white-space-collapse: preserve;&quot;&gt;&lt;li style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; display: block; margin: 0px; padding-left: 0.375em; position: relative;&quot;&gt;Java Stream API:&lt;pre style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: transparent; border-radius: 0.375rem; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; color: currentcolor; font-family: &amp;quot;Söhne Mono&amp;quot;, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 0.875em; line-height: 1.71429; margin-bottom: 0px; margin-top: 0px; overflow-x: auto; padding: 0px;&quot;&gt;&lt;div class=&quot;bg-black rounded-md mb-4&quot; style=&quot;--tw-bg-opacity: 1; --tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: rgba(0,0,0,var(--tw-bg-opacity)); border-radius: 0.375rem; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; margin-bottom: 1rem;&quot;&gt;&lt;div class=&quot;flex items-center relative text-gray-200 bg-gray-800 px-4 py-2 text-xs font-sans justify-between rounded-t-md&quot; style=&quot;--tw-bg-opacity: 1; --tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-text-opacity: 1; --tw-translate-x: 0; --tw-translate-y: 0; align-items: center; background-color: rgba(52,53,65,var(--tw-bg-opacity)); border-top-left-radius: 0.375rem; border-top-right-radius: 0.375rem; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; color: rgba(217,217,227,var(--tw-text-opacity)); display: flex; font-family: Söhne, ui-sans-serif, system-ui, -apple-system, &amp;quot;Segoe UI&amp;quot;, Roboto, Ubuntu, Cantarell, &amp;quot;Noto Sans&amp;quot;, sans-serif, &amp;quot;Helvetica Neue&amp;quot;, Arial, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 0.75rem; justify-content: space-between; line-height: 1rem; padding: 0.5rem 1rem; position: relative;&quot;&gt;&lt;span style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 0px solid rgb(217, 217, 227); box-sizing: border-box;&quot;&gt;java&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;p-4 overflow-y-auto&quot; style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; overflow-y: auto; padding: 1rem;&quot;&gt;&lt;code class=&quot;!whitespace-pre hljs language-java&quot; style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background: none; border-radius: 0.3em; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; color: white; font-family: inherit; font-size: inherit; font-weight: inherit; hyphens: none; line-height: 1.5; overflow-wrap: normal; padding: 0.1em; tab-size: 4; white-space: normal; word-break: normal; word-spacing: normal;&quot;&gt;stream.sorted()
      .forEach(System.out::println);
&lt;/code&gt;&lt;/div&gt;&lt;/div&gt;&lt;/pre&gt;&lt;/li&gt;&lt;li style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; display: block; margin: 0px; padding-left: 0.375em; position: relative;&quot;&gt;C# LINQ:&lt;pre style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: transparent; border-radius: 0.375rem; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; color: currentcolor; font-family: &amp;quot;Söhne Mono&amp;quot;, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 0.875em; line-height: 1.71429; margin-bottom: 0px; margin-top: 0px; overflow-x: auto; padding: 0px;&quot;&gt;&lt;div class=&quot;bg-black rounded-md mb-4&quot; style=&quot;--tw-bg-opacity: 1; --tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: rgba(0,0,0,var(--tw-bg-opacity)); border-radius: 0.375rem; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; margin-bottom: 1rem;&quot;&gt;&lt;div class=&quot;flex items-center relative text-gray-200 bg-gray-800 px-4 py-2 text-xs font-sans justify-between rounded-t-md&quot; style=&quot;--tw-bg-opacity: 1; --tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-text-opacity: 1; --tw-translate-x: 0; --tw-translate-y: 0; align-items: center; background-color: rgba(52,53,65,var(--tw-bg-opacity)); border-top-left-radius: 0.375rem; border-top-right-radius: 0.375rem; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; color: rgba(217,217,227,var(--tw-text-opacity)); display: flex; font-family: Söhne, ui-sans-serif, system-ui, -apple-system, &amp;quot;Segoe UI&amp;quot;, Roboto, Ubuntu, Cantarell, &amp;quot;Noto Sans&amp;quot;, sans-serif, &amp;quot;Helvetica Neue&amp;quot;, Arial, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 0.75rem; justify-content: space-between; line-height: 1rem; padding: 0.5rem 1rem; position: relative;&quot;&gt;&lt;span style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 0px solid rgb(217, 217, 227); box-sizing: border-box;&quot;&gt;csharp&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;p-4 overflow-y-auto&quot; style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; overflow-y: auto; padding: 1rem;&quot;&gt;&lt;code class=&quot;!whitespace-pre hljs language-csharp&quot; style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background: none; border-radius: 0.3em; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; color: white; font-family: inherit; font-size: inherit; font-weight: inherit; hyphens: none; line-height: 1.5; overflow-wrap: normal; padding: 0.1em; tab-size: 4; white-space: normal; word-break: normal; word-spacing: normal;&quot;&gt;&lt;span class=&quot;hljs-keyword&quot; style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; color: #2e95d3;&quot;&gt;var&lt;/span&gt; sorted = collection.OrderBy(element =&amp;gt; element);
&lt;span class=&quot;hljs-keyword&quot; style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; color: #2e95d3;&quot;&gt;foreach&lt;/span&gt; (&lt;span class=&quot;hljs-keyword&quot; style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; color: #2e95d3;&quot;&gt;var&lt;/span&gt; element &lt;span class=&quot;hljs-keyword&quot; style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; color: #2e95d3;&quot;&gt;in&lt;/span&gt; sorted)
{
    Console.WriteLine(element);
}&lt;/code&gt;&lt;/div&gt;&lt;/div&gt;&lt;/pre&gt;&lt;/li&gt;&lt;/ul&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;Aggregating Elements:&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;Both LINQ and Stream API support aggregating elements using
methods like Sum(), Average(), Min(), and Max().&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;&lt;ul style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #f7f7f8; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; color: #374151; display: flex; flex-direction: column; font-family: Söhne, ui-sans-serif, system-ui, -apple-system, &amp;quot;Segoe UI&amp;quot;, Roboto, Ubuntu, Cantarell, &amp;quot;Noto Sans&amp;quot;, sans-serif, &amp;quot;Helvetica Neue&amp;quot;, Arial, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; list-style-image: initial; list-style-position: initial; margin: 0px; padding: 0px 0px 0px 1rem; white-space-collapse: preserve;&quot;&gt;&lt;li style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; display: block; margin: 0px; padding-left: 0.375em; position: relative;&quot;&gt;Java Stream API:&lt;pre style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: transparent; border-radius: 0.375rem; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; color: currentcolor; font-family: &amp;quot;Söhne Mono&amp;quot;, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 0.875em; line-height: 1.71429; margin-bottom: 0px; margin-top: 0px; overflow-x: auto; padding: 0px;&quot;&gt;&lt;div class=&quot;bg-black rounded-md mb-4&quot; style=&quot;--tw-bg-opacity: 1; --tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: rgba(0,0,0,var(--tw-bg-opacity)); border-radius: 0.375rem; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; margin-bottom: 1rem;&quot;&gt;&lt;div class=&quot;flex items-center relative text-gray-200 bg-gray-800 px-4 py-2 text-xs font-sans justify-between rounded-t-md&quot; style=&quot;--tw-bg-opacity: 1; --tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-text-opacity: 1; --tw-translate-x: 0; --tw-translate-y: 0; align-items: center; background-color: rgba(52,53,65,var(--tw-bg-opacity)); border-top-left-radius: 0.375rem; border-top-right-radius: 0.375rem; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; color: rgba(217,217,227,var(--tw-text-opacity)); display: flex; font-family: Söhne, ui-sans-serif, system-ui, -apple-system, &amp;quot;Segoe UI&amp;quot;, Roboto, Ubuntu, Cantarell, &amp;quot;Noto Sans&amp;quot;, sans-serif, &amp;quot;Helvetica Neue&amp;quot;, Arial, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 0.75rem; justify-content: space-between; line-height: 1rem; padding: 0.5rem 1rem; position: relative;&quot;&gt;&lt;span style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 0px solid rgb(217, 217, 227); box-sizing: border-box;&quot;&gt;java&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;p-4 overflow-y-auto&quot; style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; overflow-y: auto; padding: 1rem;&quot;&gt;&lt;code class=&quot;!whitespace-pre hljs language-java&quot; style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background: none; border-radius: 0.3em; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; color: white; font-family: inherit; font-size: inherit; font-weight: inherit; hyphens: none; line-height: 1.5; overflow-wrap: normal; padding: 0.1em; tab-size: 4; white-space: normal; word-break: normal; word-spacing: normal;&quot;&gt;&lt;span class=&quot;hljs-type&quot; style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; color: #df3079;&quot;&gt;int&lt;/span&gt; &lt;span class=&quot;hljs-variable&quot; style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; color: #df3079;&quot;&gt;sum&lt;/span&gt; &lt;span class=&quot;hljs-operator&quot; style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 0px solid rgb(217, 217, 227); box-sizing: border-box;&quot;&gt;=&lt;/span&gt; stream.reduce(&lt;span class=&quot;hljs-number&quot; style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; color: #df3079;&quot;&gt;0&lt;/span&gt;, (a, b) -&amp;gt; a + b);
&lt;/code&gt;&lt;/div&gt;&lt;/div&gt;&lt;/pre&gt;&lt;/li&gt;&lt;li style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; display: block; margin: 0px; padding-left: 0.375em; position: relative;&quot;&gt;C# LINQ:&lt;pre style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: transparent; border-radius: 0.375rem; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; color: currentcolor; font-family: &amp;quot;Söhne Mono&amp;quot;, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 0.875em; line-height: 1.71429; margin-bottom: 0px; margin-top: 0px; overflow-x: auto; padding: 0px;&quot;&gt;&lt;div class=&quot;bg-black rounded-md mb-4&quot; style=&quot;--tw-bg-opacity: 1; --tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: rgba(0,0,0,var(--tw-bg-opacity)); border-radius: 0.375rem; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; margin-bottom: 1rem;&quot;&gt;&lt;div class=&quot;flex items-center relative text-gray-200 bg-gray-800 px-4 py-2 text-xs font-sans justify-between rounded-t-md&quot; style=&quot;--tw-bg-opacity: 1; --tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-text-opacity: 1; --tw-translate-x: 0; --tw-translate-y: 0; align-items: center; background-color: rgba(52,53,65,var(--tw-bg-opacity)); border-top-left-radius: 0.375rem; border-top-right-radius: 0.375rem; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; color: rgba(217,217,227,var(--tw-text-opacity)); display: flex; font-family: Söhne, ui-sans-serif, system-ui, -apple-system, &amp;quot;Segoe UI&amp;quot;, Roboto, Ubuntu, Cantarell, &amp;quot;Noto Sans&amp;quot;, sans-serif, &amp;quot;Helvetica Neue&amp;quot;, Arial, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 0.75rem; justify-content: space-between; line-height: 1rem; padding: 0.5rem 1rem; position: relative;&quot;&gt;&lt;span style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 0px solid rgb(217, 217, 227); box-sizing: border-box;&quot;&gt;csharp&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;p-4 overflow-y-auto&quot; style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; overflow-y: auto; padding: 1rem;&quot;&gt;&lt;code class=&quot;!whitespace-pre hljs language-csharp&quot; style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background: none; border-radius: 0.3em; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; color: white; font-family: inherit; font-size: inherit; font-weight: inherit; hyphens: none; line-height: 1.5; overflow-wrap: normal; padding: 0.1em; tab-size: 4; white-space: normal; word-break: normal; word-spacing: normal;&quot;&gt;&lt;span class=&quot;hljs-built_in&quot; style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; color: #e9950c;&quot;&gt;int&lt;/span&gt; sum = collection.Sum();&lt;/code&gt;&lt;/div&gt;&lt;/div&gt;&lt;/pre&gt;&lt;/li&gt;&lt;/ul&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;Grouping Elements:&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;Both LINQ and Stream API enable grouping elements based on
specific criteria. LINQ provides the GroupBy() method, while Stream API offers
the Collectors.groupingBy() method.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;&lt;ul style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #f7f7f8; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; color: #374151; display: flex; flex-direction: column; font-family: Söhne, ui-sans-serif, system-ui, -apple-system, &amp;quot;Segoe UI&amp;quot;, Roboto, Ubuntu, Cantarell, &amp;quot;Noto Sans&amp;quot;, sans-serif, &amp;quot;Helvetica Neue&amp;quot;, Arial, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; list-style-image: initial; list-style-position: initial; margin: 0px; padding: 0px 0px 0px 1rem; white-space-collapse: preserve;&quot;&gt;&lt;li style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; display: block; margin: 0px; padding-left: 0.375em; position: relative;&quot;&gt;Java Stream API:&lt;pre style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: transparent; border-radius: 0.375rem; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; color: currentcolor; font-family: &amp;quot;Söhne Mono&amp;quot;, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 0.875em; line-height: 1.71429; margin-bottom: 0px; margin-top: 0px; overflow-x: auto; padding: 0px;&quot;&gt;&lt;div class=&quot;bg-black rounded-md mb-4&quot; style=&quot;--tw-bg-opacity: 1; --tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: rgba(0,0,0,var(--tw-bg-opacity)); border-radius: 0.375rem; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; margin-bottom: 1rem;&quot;&gt;&lt;div class=&quot;flex items-center relative text-gray-200 bg-gray-800 px-4 py-2 text-xs font-sans justify-between rounded-t-md&quot; style=&quot;--tw-bg-opacity: 1; --tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-text-opacity: 1; --tw-translate-x: 0; --tw-translate-y: 0; align-items: center; background-color: rgba(52,53,65,var(--tw-bg-opacity)); border-top-left-radius: 0.375rem; border-top-right-radius: 0.375rem; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; color: rgba(217,217,227,var(--tw-text-opacity)); display: flex; font-family: Söhne, ui-sans-serif, system-ui, -apple-system, &amp;quot;Segoe UI&amp;quot;, Roboto, Ubuntu, Cantarell, &amp;quot;Noto Sans&amp;quot;, sans-serif, &amp;quot;Helvetica Neue&amp;quot;, Arial, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 0.75rem; justify-content: space-between; line-height: 1rem; padding: 0.5rem 1rem; position: relative;&quot;&gt;&lt;span style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 0px solid rgb(217, 217, 227); box-sizing: border-box;&quot;&gt;java&lt;/span&gt;&lt;button class=&quot;flex ml-auto gap-2&quot; style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; appearance: button; background-image: none; border-color: rgb(217, 217, 227); border-style: solid; border-width: 0px; cursor: pointer; display: flex; font-family: inherit; font-size: 12px; font-weight: inherit; gap: 0.5rem; line-height: inherit; margin: 0px 0px 0px auto; padding: 0px;&quot;&gt;&lt;br /&gt;&lt;/button&gt;&lt;/div&gt;&lt;div class=&quot;p-4 overflow-y-auto&quot; style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; overflow-y: auto; padding: 1rem;&quot;&gt;&lt;code class=&quot;!whitespace-pre hljs language-java&quot; style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background: none; border-radius: 0.3em; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; color: white; font-family: inherit; font-size: inherit; font-weight: inherit; hyphens: none; line-height: 1.5; overflow-wrap: normal; padding: 0.1em; tab-size: 4; white-space: normal; word-break: normal; word-spacing: normal;&quot;&gt;Map&amp;lt;String, List&amp;lt;String&amp;gt;&amp;gt; grouped = stream.collect(Collectors.groupingBy(element -&amp;gt; element.substring(&lt;span class=&quot;hljs-number&quot; style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; color: #df3079;&quot;&gt;0&lt;/span&gt;, &lt;span class=&quot;hljs-number&quot; style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; color: #df3079;&quot;&gt;1&lt;/span&gt;)));
&lt;/code&gt;&lt;/div&gt;&lt;/div&gt;&lt;/pre&gt;&lt;/li&gt;&lt;li style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; display: block; margin: 0px; padding-left: 0.375em; position: relative;&quot;&gt;C# LINQ:&lt;pre style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: transparent; border-radius: 0.375rem; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; color: currentcolor; font-family: &amp;quot;Söhne Mono&amp;quot;, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 0.875em; line-height: 1.71429; margin-bottom: 0px; margin-top: 0px; overflow-x: auto; padding: 0px;&quot;&gt;&lt;div class=&quot;bg-black rounded-md mb-4&quot; style=&quot;--tw-bg-opacity: 1; --tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: rgba(0,0,0,var(--tw-bg-opacity)); border-radius: 0.375rem; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; margin-bottom: 1rem;&quot;&gt;&lt;div class=&quot;flex items-center relative text-gray-200 bg-gray-800 px-4 py-2 text-xs font-sans justify-between rounded-t-md&quot; style=&quot;--tw-bg-opacity: 1; --tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-text-opacity: 1; --tw-translate-x: 0; --tw-translate-y: 0; align-items: center; background-color: rgba(52,53,65,var(--tw-bg-opacity)); border-top-left-radius: 0.375rem; border-top-right-radius: 0.375rem; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; color: rgba(217,217,227,var(--tw-text-opacity)); display: flex; font-family: Söhne, ui-sans-serif, system-ui, -apple-system, &amp;quot;Segoe UI&amp;quot;, Roboto, Ubuntu, Cantarell, &amp;quot;Noto Sans&amp;quot;, sans-serif, &amp;quot;Helvetica Neue&amp;quot;, Arial, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 0.75rem; justify-content: space-between; line-height: 1rem; padding: 0.5rem 1rem; position: relative;&quot;&gt;&lt;span style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 0px solid rgb(217, 217, 227); box-sizing: border-box;&quot;&gt;csharp&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;p-4 overflow-y-auto&quot; style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; overflow-y: auto; padding: 1rem;&quot;&gt;&lt;code class=&quot;!whitespace-pre hljs language-csharp&quot; style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background: none; border-radius: 0.3em; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; color: white; font-family: inherit; font-size: inherit; font-weight: inherit; hyphens: none; line-height: 1.5; overflow-wrap: normal; padding: 0.1em; tab-size: 4; white-space: normal; word-break: normal; word-spacing: normal;&quot;&gt;&lt;span class=&quot;hljs-keyword&quot; style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; color: #2e95d3;&quot;&gt;var&lt;/span&gt; grouped = collection.GroupBy(element =&amp;gt; element.Substring(&lt;span class=&quot;hljs-number&quot; style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; color: #df3079;&quot;&gt;0&lt;/span&gt;, &lt;span class=&quot;hljs-number&quot; style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; color: #df3079;&quot;&gt;1&lt;/span&gt;));&lt;/code&gt;&lt;/div&gt;&lt;/div&gt;&lt;/pre&gt;&lt;/li&gt;&lt;/ul&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;Joining Elements:&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;Both LINQ and Stream API support joining elements from
multiple collections. LINQ provides the Join() method, while Stream API offers
the flatMap() and Collectors.joining() methods.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;ul style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #f7f7f8; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; color: #374151; display: flex; flex-direction: column; font-family: Söhne, ui-sans-serif, system-ui, -apple-system, &amp;quot;Segoe UI&amp;quot;, Roboto, Ubuntu, Cantarell, &amp;quot;Noto Sans&amp;quot;, sans-serif, &amp;quot;Helvetica Neue&amp;quot;, Arial, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; list-style-image: initial; list-style-position: initial; margin: 0px; padding: 0px 0px 0px 1rem; white-space-collapse: preserve;&quot;&gt;&lt;li style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; display: block; margin: 0px; padding-left: 0.375em; position: relative;&quot;&gt;Java Stream API:&lt;pre style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: transparent; border-radius: 0.375rem; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; color: currentcolor; font-family: &amp;quot;Söhne Mono&amp;quot;, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 0.875em; line-height: 1.71429; margin-bottom: 0px; margin-top: 0px; overflow-x: auto; padding: 0px;&quot;&gt;&lt;div class=&quot;bg-black rounded-md mb-4&quot; style=&quot;--tw-bg-opacity: 1; --tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: rgba(0,0,0,var(--tw-bg-opacity)); border-radius: 0.375rem; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; margin-bottom: 1rem;&quot;&gt;&lt;div class=&quot;flex items-center relative text-gray-200 bg-gray-800 px-4 py-2 text-xs font-sans justify-between rounded-t-md&quot; style=&quot;--tw-bg-opacity: 1; --tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-text-opacity: 1; --tw-translate-x: 0; --tw-translate-y: 0; align-items: center; background-color: rgba(52,53,65,var(--tw-bg-opacity)); border-top-left-radius: 0.375rem; border-top-right-radius: 0.375rem; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; color: rgba(217,217,227,var(--tw-text-opacity)); display: flex; font-family: Söhne, ui-sans-serif, system-ui, -apple-system, &amp;quot;Segoe UI&amp;quot;, Roboto, Ubuntu, Cantarell, &amp;quot;Noto Sans&amp;quot;, sans-serif, &amp;quot;Helvetica Neue&amp;quot;, Arial, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 0.75rem; justify-content: space-between; line-height: 1rem; padding: 0.5rem 1rem; position: relative;&quot;&gt;&lt;span style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 0px solid rgb(217, 217, 227); box-sizing: border-box;&quot;&gt;java&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;p-4 overflow-y-auto&quot; style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; overflow-y: auto; padding: 1rem;&quot;&gt;&lt;code class=&quot;!whitespace-pre hljs language-java&quot; style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background: none; border-radius: 0.3em; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; color: white; font-family: inherit; font-size: inherit; font-weight: inherit; hyphens: none; line-height: 1.5; overflow-wrap: normal; padding: 0.1em; tab-size: 4; white-space: normal; word-break: normal; word-spacing: normal;&quot;&gt;&lt;span class=&quot;hljs-type&quot; style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; color: #df3079;&quot;&gt;String&lt;/span&gt; &lt;span class=&quot;hljs-variable&quot; style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; color: #df3079;&quot;&gt;joined&lt;/span&gt; &lt;span class=&quot;hljs-operator&quot; style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 0px solid rgb(217, 217, 227); box-sizing: border-box;&quot;&gt;=&lt;/span&gt; stream.collect(Collectors.joining(&lt;span class=&quot;hljs-string&quot; style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; color: #00a67d;&quot;&gt;&quot;, &quot;&lt;/span&gt;));
&lt;/code&gt;&lt;/div&gt;&lt;/div&gt;&lt;/pre&gt;&lt;/li&gt;&lt;li style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; display: block; margin: 0px; padding-left: 0.375em; position: relative;&quot;&gt;C# LINQ:&lt;pre style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: transparent; border-radius: 0.375rem; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; color: currentcolor; font-family: &amp;quot;Söhne Mono&amp;quot;, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 0.875em; line-height: 1.71429; margin-bottom: 0px; margin-top: 0px; overflow-x: auto; padding: 0px;&quot;&gt;&lt;div class=&quot;bg-black rounded-md mb-4&quot; style=&quot;--tw-bg-opacity: 1; --tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: rgba(0,0,0,var(--tw-bg-opacity)); border-radius: 0.375rem; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; margin-bottom: 1rem;&quot;&gt;&lt;div class=&quot;flex items-center relative text-gray-200 bg-gray-800 px-4 py-2 text-xs font-sans justify-between rounded-t-md&quot; style=&quot;--tw-bg-opacity: 1; --tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-text-opacity: 1; --tw-translate-x: 0; --tw-translate-y: 0; align-items: center; background-color: rgba(52,53,65,var(--tw-bg-opacity)); border-top-left-radius: 0.375rem; border-top-right-radius: 0.375rem; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; color: rgba(217,217,227,var(--tw-text-opacity)); display: flex; font-family: Söhne, ui-sans-serif, system-ui, -apple-system, &amp;quot;Segoe UI&amp;quot;, Roboto, Ubuntu, Cantarell, &amp;quot;Noto Sans&amp;quot;, sans-serif, &amp;quot;Helvetica Neue&amp;quot;, Arial, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 0.75rem; justify-content: space-between; line-height: 1rem; padding: 0.5rem 1rem; position: relative;&quot;&gt;&lt;span style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 0px solid rgb(217, 217, 227); box-sizing: border-box;&quot;&gt;csharp&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;p-4 overflow-y-auto&quot; style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; overflow-y: auto; padding: 1rem;&quot;&gt;&lt;code class=&quot;!whitespace-pre hljs language-csharp&quot; style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background: none; border-radius: 0.3em; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; color: white; font-family: inherit; font-size: inherit; font-weight: inherit; hyphens: none; line-height: 1.5; overflow-wrap: normal; padding: 0.1em; tab-size: 4; white-space: normal; word-break: normal; word-spacing: normal;&quot;&gt;&lt;span class=&quot;hljs-built_in&quot; style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; color: #e9950c;&quot;&gt;string&lt;/span&gt; joined = &lt;span class=&quot;hljs-built_in&quot; style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; color: #e9950c;&quot;&gt;string&lt;/span&gt;.Join(&lt;span class=&quot;hljs-string&quot; style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; color: #00a67d;&quot;&gt;&quot;, &quot;&lt;/span&gt;, collection);&lt;/code&gt;&lt;/div&gt;&lt;/div&gt;&lt;/pre&gt;&lt;/li&gt;&lt;/ul&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;Checking for Element Existence:&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;Both LINQ and Stream API provide methods for checking the
existence of specific elements.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;ul style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #f7f7f8; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; color: #374151; display: flex; flex-direction: column; font-family: Söhne, ui-sans-serif, system-ui, -apple-system, &amp;quot;Segoe UI&amp;quot;, Roboto, Ubuntu, Cantarell, &amp;quot;Noto Sans&amp;quot;, sans-serif, &amp;quot;Helvetica Neue&amp;quot;, Arial, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; list-style-image: initial; list-style-position: initial; margin: 0px; padding: 0px 0px 0px 1rem; white-space-collapse: preserve;&quot;&gt;&lt;li style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; display: block; margin: 0px; padding-left: 0.375em; position: relative;&quot;&gt;Java Stream API:&lt;pre style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: transparent; border-radius: 0.375rem; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; color: currentcolor; font-family: &amp;quot;Söhne Mono&amp;quot;, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 0.875em; line-height: 1.71429; margin-bottom: 0px; margin-top: 0px; overflow-x: auto; padding: 0px;&quot;&gt;&lt;div class=&quot;bg-black rounded-md mb-4&quot; style=&quot;--tw-bg-opacity: 1; --tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: rgba(0,0,0,var(--tw-bg-opacity)); border-radius: 0.375rem; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; margin-bottom: 1rem;&quot;&gt;&lt;div class=&quot;flex items-center relative text-gray-200 bg-gray-800 px-4 py-2 text-xs font-sans justify-between rounded-t-md&quot; style=&quot;--tw-bg-opacity: 1; --tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-text-opacity: 1; --tw-translate-x: 0; --tw-translate-y: 0; align-items: center; background-color: rgba(52,53,65,var(--tw-bg-opacity)); border-top-left-radius: 0.375rem; border-top-right-radius: 0.375rem; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; color: rgba(217,217,227,var(--tw-text-opacity)); display: flex; font-family: Söhne, ui-sans-serif, system-ui, -apple-system, &amp;quot;Segoe UI&amp;quot;, Roboto, Ubuntu, Cantarell, &amp;quot;Noto Sans&amp;quot;, sans-serif, &amp;quot;Helvetica Neue&amp;quot;, Arial, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 0.75rem; justify-content: space-between; line-height: 1rem; padding: 0.5rem 1rem; position: relative;&quot;&gt;&lt;span style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 0px solid rgb(217, 217, 227); box-sizing: border-box;&quot;&gt;java&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;p-4 overflow-y-auto&quot; style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; overflow-y: auto; padding: 1rem;&quot;&gt;&lt;code class=&quot;!whitespace-pre hljs language-java&quot; style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background: none; border-radius: 0.3em; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; color: white; font-family: inherit; font-size: inherit; font-weight: inherit; hyphens: none; line-height: 1.5; overflow-wrap: normal; padding: 0.1em; tab-size: 4; white-space: normal; word-break: normal; word-spacing: normal;&quot;&gt;&lt;span class=&quot;hljs-type&quot; style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; color: #df3079;&quot;&gt;boolean&lt;/span&gt; &lt;span class=&quot;hljs-variable&quot; style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; color: #df3079;&quot;&gt;anyMatch&lt;/span&gt; &lt;span class=&quot;hljs-operator&quot; style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 0px solid rgb(217, 217, 227); box-sizing: border-box;&quot;&gt;=&lt;/span&gt; stream.anyMatch(element -&amp;gt; element &amp;gt; &lt;span class=&quot;hljs-number&quot; style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; color: #df3079;&quot;&gt;10&lt;/span&gt;);
&lt;/code&gt;&lt;/div&gt;&lt;/div&gt;&lt;/pre&gt;&lt;/li&gt;&lt;li style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; display: block; margin: 0px; padding-left: 0.375em; position: relative;&quot;&gt;C# LINQ:&lt;pre style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: transparent; border-radius: 0.375rem; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; color: currentcolor; font-family: &amp;quot;Söhne Mono&amp;quot;, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 0.875em; line-height: 1.71429; margin-bottom: 0px; margin-top: 0px; overflow-x: auto; padding: 0px;&quot;&gt;&lt;div class=&quot;bg-black rounded-md mb-4&quot; style=&quot;--tw-bg-opacity: 1; --tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: rgba(0,0,0,var(--tw-bg-opacity)); border-radius: 0.375rem; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; margin-bottom: 1rem;&quot;&gt;&lt;div class=&quot;flex items-center relative text-gray-200 bg-gray-800 px-4 py-2 text-xs font-sans justify-between rounded-t-md&quot; style=&quot;--tw-bg-opacity: 1; --tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-text-opacity: 1; --tw-translate-x: 0; --tw-translate-y: 0; align-items: center; background-color: rgba(52,53,65,var(--tw-bg-opacity)); border-top-left-radius: 0.375rem; border-top-right-radius: 0.375rem; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; color: rgba(217,217,227,var(--tw-text-opacity)); display: flex; font-family: Söhne, ui-sans-serif, system-ui, -apple-system, &amp;quot;Segoe UI&amp;quot;, Roboto, Ubuntu, Cantarell, &amp;quot;Noto Sans&amp;quot;, sans-serif, &amp;quot;Helvetica Neue&amp;quot;, Arial, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 0.75rem; justify-content: space-between; line-height: 1rem; padding: 0.5rem 1rem; position: relative;&quot;&gt;&lt;span style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 0px solid rgb(217, 217, 227); box-sizing: border-box;&quot;&gt;csharp&lt;span color=&quot;rgba(217,217,227,var(--tw-text-opacity))&quot; style=&quot;background-color: rgba(52,53,65,var(--tw-bg-opacity)); font-family: inherit; font-weight: inherit;&quot;&gt;e&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;p-4 overflow-y-auto&quot; style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; overflow-y: auto; padding: 1rem;&quot;&gt;&lt;code class=&quot;!whitespace-pre hljs language-csharp&quot; style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background: none; border-radius: 0.3em; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; color: white; font-family: inherit; font-size: inherit; font-weight: inherit; hyphens: none; line-height: 1.5; overflow-wrap: normal; padding: 0.1em; tab-size: 4; white-space: normal; word-break: normal; word-spacing: normal;&quot;&gt;&lt;span class=&quot;hljs-built_in&quot; style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; color: #e9950c;&quot;&gt;bool&lt;/span&gt; anyMatch = collection.Any(element =&amp;gt; element &amp;gt; &lt;span class=&quot;hljs-number&quot; style=&quot;--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(69,89,164,.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; color: #df3079;&quot;&gt;10&lt;/span&gt;);&lt;/code&gt;&lt;/div&gt;&lt;/div&gt;&lt;/pre&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;&lt;/p&gt;
&lt;script type=&quot;text/javascript&quot;&gt;&lt;!--
google_ad_client = &quot;ca-pub-9258662570457396&quot;;
/* extra ad */
google_ad_slot = &quot;0417071606&quot;;
google_ad_width = 728;
google_ad_height = 90;
//--&gt;
&lt;/script&gt;
&lt;script src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot; type=&quot;text/javascript&quot;&gt;
&lt;/script&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://divyang4481.blogspot.com/feeds/1307585432413020627/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/2780454567834772883/1307585432413020627' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2780454567834772883/posts/default/1307585432413020627'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2780454567834772883/posts/default/1307585432413020627'/><link rel='alternate' type='text/html' href='http://divyang4481.blogspot.com/2023/06/a-comparison-of-java-stream-api-and-c.html' title='A Comparison of Java Stream API and C# LINQ for Declarative Collection Operations'/><author><name>divyang4481</name><uri>http://www.blogger.com/profile/10981719905554797424</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/AVvXsEh8Rc1E6g0ExRm8zcCmqtxLrw5VsayMfPeWQj49bGKjQCUpWQROap7ugoOPhI90yVTwMpncnjI8Fq73KztAMyvA3SVq95ivjE7IznQ9IIVqVZJB7lyOyL1pFoV3Barf6QppF0IsfEBPeDo7WwhiPEmqjAcjaGnN-US8cJhCovye_X-N4z28CgHwBDjnWS0/s72-w499-h202-c/01.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2780454567834772883.post-5456247318629648336</id><published>2023-06-09T08:00:00.003+05:30</published><updated>2023-06-09T08:45:20.708+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Graph Theory"/><title type='text'>Tree vs Forest  in  Graph theory</title><content type='html'>&lt;!--Place this tag in your head or just before your close body tag--&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;In graph theory, a tree and a forest are both special types
of graphs that do not contain cycles.&lt;o:p&gt;&lt;/o:p&gt;&lt;p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;Here is difference between tree and forest.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;table border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoTableGrid&quot; style=&quot;border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0cm 5.4pt 0cm 5.4pt; mso-yfti-tbllook: 1184;&quot;&gt;
 &lt;tbody&gt;&lt;tr&gt;
  &lt;td style=&quot;border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0cm 5.4pt; width: 113.15pt;&quot; valign=&quot;top&quot; width=&quot;151&quot;&gt;
  &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0cm;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;
  &lt;/td&gt;
  &lt;td style=&quot;border-left: none; border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; padding: 0cm 5.4pt; width: 163.05pt;&quot; valign=&quot;top&quot; width=&quot;217&quot;&gt;
  &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0cm;&quot;&gt;Tree&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
  &lt;/td&gt;
  &lt;td style=&quot;border-left: none; border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; padding: 0cm 5.4pt; width: 174.6pt;&quot; valign=&quot;top&quot; width=&quot;233&quot;&gt;
  &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0cm;&quot;&gt;Forest&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
  &lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
  &lt;td style=&quot;border-top: none; border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt; width: 113.15pt;&quot; valign=&quot;top&quot; width=&quot;151&quot;&gt;
  &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0cm;&quot;&gt;&lt;span face=&quot;&amp;quot;Segoe UI&amp;quot;,sans-serif&quot; style=&quot;color: #374151; font-size: 10.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: EN-IN; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;Definition&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
  &lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1pt solid windowtext; border-left: none; border-right: 1pt solid windowtext; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt; width: 163.05pt;&quot; valign=&quot;top&quot; width=&quot;217&quot;&gt;
  &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0cm;&quot;&gt;&lt;span face=&quot;&amp;quot;Segoe UI&amp;quot;,sans-serif&quot; style=&quot;color: #374151; font-size: 10.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: EN-IN; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;A connected acyclic graph&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
  &lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1pt solid windowtext; border-left: none; border-right: 1pt solid windowtext; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt; width: 174.6pt;&quot; valign=&quot;top&quot; width=&quot;233&quot;&gt;
  &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0cm;&quot;&gt;&lt;span face=&quot;&amp;quot;Segoe UI&amp;quot;,sans-serif&quot; style=&quot;color: #374151; font-size: 10.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: EN-IN; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;A collection of disjoint trees&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
  &lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
  &lt;td style=&quot;border-top: none; border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt; width: 113.15pt;&quot; valign=&quot;top&quot; width=&quot;151&quot;&gt;
  &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0cm;&quot;&gt;&lt;span face=&quot;&amp;quot;Segoe UI&amp;quot;,sans-serif&quot; style=&quot;color: #374151; font-size: 10.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: EN-IN; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;Components&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
  &lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1pt solid windowtext; border-left: none; border-right: 1pt solid windowtext; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt; width: 163.05pt;&quot; valign=&quot;top&quot; width=&quot;217&quot;&gt;
  &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0cm;&quot;&gt;&lt;span face=&quot;&amp;quot;Segoe UI&amp;quot;,sans-serif&quot; style=&quot;color: #374151; font-size: 10.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: EN-IN; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;Only one tree&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
  &lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1pt solid windowtext; border-left: none; border-right: 1pt solid windowtext; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt; width: 174.6pt;&quot; valign=&quot;top&quot; width=&quot;233&quot;&gt;
  &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0cm;&quot;&gt;&lt;span face=&quot;&amp;quot;Segoe UI&amp;quot;,sans-serif&quot; style=&quot;color: #374151; font-size: 10.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: EN-IN; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;Multiple trees&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
  &lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
  &lt;td style=&quot;border-top: none; border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt; width: 113.15pt;&quot; valign=&quot;top&quot; width=&quot;151&quot;&gt;
  &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0cm;&quot;&gt;&lt;span face=&quot;&amp;quot;Segoe UI&amp;quot;,sans-serif&quot; style=&quot;color: #374151; font-size: 10.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: EN-IN; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;Connectivity&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
  &lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1pt solid windowtext; border-left: none; border-right: 1pt solid windowtext; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt; width: 163.05pt;&quot; valign=&quot;top&quot; width=&quot;217&quot;&gt;
  &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0cm;&quot;&gt;&lt;span face=&quot;&amp;quot;Segoe UI&amp;quot;,sans-serif&quot; style=&quot;color: #374151; font-size: 10.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: EN-IN; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;All vertices are connected&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
  &lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1pt solid windowtext; border-left: none; border-right: 1pt solid windowtext; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt; width: 174.6pt;&quot; valign=&quot;top&quot; width=&quot;233&quot;&gt;
  &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0cm;&quot;&gt;&lt;span face=&quot;&amp;quot;Segoe UI&amp;quot;,sans-serif&quot; style=&quot;color: #374151; font-size: 10.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: EN-IN; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;Each tree is connected but trees are disjoint&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
  &lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
  &lt;td style=&quot;border-top: none; border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt; width: 113.15pt;&quot; valign=&quot;top&quot; width=&quot;151&quot;&gt;
  &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0cm;&quot;&gt;&lt;span face=&quot;&amp;quot;Segoe UI&amp;quot;,sans-serif&quot; style=&quot;color: #374151; font-size: 10.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: EN-IN; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;Cycles&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
  &lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1pt solid windowtext; border-left: none; border-right: 1pt solid windowtext; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt; width: 163.05pt;&quot; valign=&quot;top&quot; width=&quot;217&quot;&gt;
  &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0cm;&quot;&gt;&lt;span face=&quot;&amp;quot;Segoe UI&amp;quot;,sans-serif&quot; style=&quot;color: #374151; font-size: 10.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: EN-IN; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;No cycles&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
  &lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1pt solid windowtext; border-left: none; border-right: 1pt solid windowtext; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt; width: 174.6pt;&quot; valign=&quot;top&quot; width=&quot;233&quot;&gt;
  &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0cm;&quot;&gt;&lt;span face=&quot;&amp;quot;Segoe UI&amp;quot;,sans-serif&quot; style=&quot;color: #374151; font-size: 10.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: EN-IN; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;No cycles in individual trees&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
  &lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
  &lt;td style=&quot;border-top: none; border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt; width: 113.15pt;&quot; valign=&quot;top&quot; width=&quot;151&quot;&gt;
  &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0cm;&quot;&gt;&lt;span face=&quot;&amp;quot;Segoe UI&amp;quot;,sans-serif&quot; style=&quot;color: #374151; font-size: 10.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: EN-IN; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;Number of Edges&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
  &lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1pt solid windowtext; border-left: none; border-right: 1pt solid windowtext; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt; width: 163.05pt;&quot; valign=&quot;top&quot; width=&quot;217&quot;&gt;
  &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0cm;&quot;&gt;&lt;span face=&quot;&amp;quot;Segoe UI&amp;quot;,sans-serif&quot; style=&quot;color: #374151; font-size: 10.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: EN-IN; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;n-1 (where n is the number of vertices)&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
  &lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1pt solid windowtext; border-left: none; border-right: 1pt solid windowtext; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt; width: 174.6pt;&quot; valign=&quot;top&quot; width=&quot;233&quot;&gt;
  &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0cm;&quot;&gt;&lt;span face=&quot;&amp;quot;Segoe UI&amp;quot;,sans-serif&quot; style=&quot;color: #374151; font-size: 10.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: EN-IN; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;Sum of edges in all trees&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
  &lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
  &lt;td style=&quot;border-top: none; border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt; width: 113.15pt;&quot; valign=&quot;top&quot; width=&quot;151&quot;&gt;
  &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0cm;&quot;&gt;&lt;span face=&quot;&amp;quot;Segoe UI&amp;quot;,sans-serif&quot; style=&quot;color: #374151; font-size: 10.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: EN-IN; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;Root&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
  &lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1pt solid windowtext; border-left: none; border-right: 1pt solid windowtext; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt; width: 163.05pt;&quot; valign=&quot;top&quot; width=&quot;217&quot;&gt;
  &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0cm;&quot;&gt;&lt;span face=&quot;&amp;quot;Segoe UI&amp;quot;,sans-serif&quot; style=&quot;color: #374151; font-size: 10.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: EN-IN; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;A tree can have a designated root vertex&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
  &lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1pt solid windowtext; border-left: none; border-right: 1pt solid windowtext; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt; width: 174.6pt;&quot; valign=&quot;top&quot; width=&quot;233&quot;&gt;
  &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0cm;&quot;&gt;&lt;span face=&quot;&amp;quot;Segoe UI&amp;quot;,sans-serif&quot; style=&quot;color: #374151; font-size: 10.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: EN-IN; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;Each tree in the forest can have its root&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
  &lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
  &lt;td style=&quot;border-top: none; border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt; width: 113.15pt;&quot; valign=&quot;top&quot; width=&quot;151&quot;&gt;
  &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0cm;&quot;&gt;&lt;span face=&quot;&amp;quot;Segoe UI&amp;quot;,sans-serif&quot; style=&quot;color: #374151; font-size: 10.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: EN-IN; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;Paths&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
  &lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1pt solid windowtext; border-left: none; border-right: 1pt solid windowtext; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt; width: 163.05pt;&quot; valign=&quot;top&quot; width=&quot;217&quot;&gt;
  &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0cm;&quot;&gt;&lt;span face=&quot;&amp;quot;Segoe UI&amp;quot;,sans-serif&quot; style=&quot;color: #374151; font-size: 10.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: EN-IN; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;Unique path between any two vertices&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
  &lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1pt solid windowtext; border-left: none; border-right: 1pt solid windowtext; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt; width: 174.6pt;&quot; valign=&quot;top&quot; width=&quot;233&quot;&gt;
  &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0cm;&quot;&gt;&lt;span face=&quot;&amp;quot;Segoe UI&amp;quot;,sans-serif&quot; style=&quot;color: #374151; font-size: 10.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: EN-IN; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;Paths are unique within each tree&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
  &lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
  &lt;td style=&quot;border-top: none; border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt; width: 113.15pt;&quot; valign=&quot;top&quot; width=&quot;151&quot;&gt;
  &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0cm;&quot;&gt;&lt;span face=&quot;&amp;quot;Segoe UI&amp;quot;,sans-serif&quot; style=&quot;color: #374151; font-size: 10.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: EN-IN; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;Examples&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
  &lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1pt solid windowtext; border-left: none; border-right: 1pt solid windowtext; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt; width: 163.05pt;&quot; valign=&quot;top&quot; width=&quot;217&quot;&gt;
  &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0cm;&quot;&gt;&lt;span face=&quot;&amp;quot;Segoe UI&amp;quot;,sans-serif&quot; style=&quot;color: #374151; font-size: 10.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: EN-IN; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;Family tree, hierarchical structure&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
  &lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1pt solid windowtext; border-left: none; border-right: 1pt solid windowtext; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt; width: 174.6pt;&quot; valign=&quot;top&quot; width=&quot;233&quot;&gt;
  &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0cm;&quot;&gt;&lt;span face=&quot;&amp;quot;Segoe UI&amp;quot;,sans-serif&quot; style=&quot;color: #374151; font-size: 10.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: EN-IN; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;Multiple disconnected network components&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
  &lt;/td&gt;
   
 &lt;/tr&gt;
 
    &lt;tr&gt;
  &lt;td style=&quot;border-top: none; border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt; width: 113.15pt;&quot; valign=&quot;top&quot; width=&quot;151&quot;&gt;
  &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0cm;&quot;&gt;&lt;span face=&quot;&amp;quot;Segoe UI&amp;quot;,sans-serif&quot; style=&quot;color: #374151; font-size: 10.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: EN-IN; mso-font-kerning: 0pt; mso-ligatures: none;&quot;&gt;Examples&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
  &lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1pt solid windowtext; border-left: none; border-right: 1pt solid windowtext; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt; width: 163.05pt;&quot; valign=&quot;top&quot; width=&quot;217&quot;&gt;
  &lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhrGc6r2BNKbU8-DuAXo_AlOPvPxaRCDzl5md2c2uHGDIcqSiYC8ilk7kWNRt4XlSuqBd-ymn4XC-nl2-cM9CoD96xm7Z6FAdh1Er06MLwakCim59ctW_HH0vxOAVbaELc3t_5sPthhM2tL8hx_7GIMWh1StQYbQDr_zk0QkX2l4PAsRF5rPizVhMkY/s232/Tree_graph_theory.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;218&quot; data-original-width=&quot;232&quot; height=&quot;218&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhrGc6r2BNKbU8-DuAXo_AlOPvPxaRCDzl5md2c2uHGDIcqSiYC8ilk7kWNRt4XlSuqBd-ymn4XC-nl2-cM9CoD96xm7Z6FAdh1Er06MLwakCim59ctW_HH0vxOAVbaELc3t_5sPthhM2tL8hx_7GIMWh1StQYbQDr_zk0QkX2l4PAsRF5rPizVhMkY/s1600/Tree_graph_theory.png&quot; width=&quot;232&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0cm;&quot;&gt;&lt;br /&gt;&lt;/p&gt;
  &lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1pt solid windowtext; border-left: none; border-right: 1pt solid windowtext; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt; width: 174.6pt;&quot; valign=&quot;top&quot; width=&quot;233&quot;&gt;
  &lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgNz4053V2AJlMOMwAP1udjq5IfjDsJwIjXZ0zIOogo7RNYRNvg8eB_Xp4nZsHJZMUlhZKtYERacR3OQBWudZ7MJ71Z4vT-Jy62zFPVg_L9IOuyQdEk-g96LR8IGzlBudk8tuMMFbRWk4cd8TReClEH8yI0c0b78e95TV_L11CdzU2xqNQ_jyyqzquQ/s330/forest_disjoin_unjon_of_tree_in_graph_theory.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;330&quot; data-original-width=&quot;330&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgNz4053V2AJlMOMwAP1udjq5IfjDsJwIjXZ0zIOogo7RNYRNvg8eB_Xp4nZsHJZMUlhZKtYERacR3OQBWudZ7MJ71Z4vT-Jy62zFPVg_L9IOuyQdEk-g96LR8IGzlBudk8tuMMFbRWk4cd8TReClEH8yI0c0b78e95TV_L11CdzU2xqNQ_jyyqzquQ/s320/forest_disjoin_unjon_of_tree_in_graph_theory.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0cm;&quot;&gt;&lt;br /&gt;&lt;/p&gt;
  &lt;/td&gt;
   
 &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;script type=&quot;text/javascript&quot;&gt;&lt;!--
google_ad_client = &quot;ca-pub-9258662570457396&quot;;
/* extra ad */
google_ad_slot = &quot;0417071606&quot;;
google_ad_width = 728;
google_ad_height = 90;
//--&gt;
&lt;/script&gt;
&lt;script src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot; type=&quot;text/javascript&quot;&gt;
&lt;/script&gt;</content><link rel='replies' type='application/atom+xml' href='http://divyang4481.blogspot.com/feeds/5456247318629648336/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/2780454567834772883/5456247318629648336' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2780454567834772883/posts/default/5456247318629648336'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2780454567834772883/posts/default/5456247318629648336'/><link rel='alternate' type='text/html' href='http://divyang4481.blogspot.com/2023/06/tree-vs-forest-in-graph-theory.html' title='Tree vs Forest  in  Graph theory'/><author><name>divyang4481</name><uri>http://www.blogger.com/profile/10981719905554797424</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/AVvXsEhrGc6r2BNKbU8-DuAXo_AlOPvPxaRCDzl5md2c2uHGDIcqSiYC8ilk7kWNRt4XlSuqBd-ymn4XC-nl2-cM9CoD96xm7Z6FAdh1Er06MLwakCim59ctW_HH0vxOAVbaELc3t_5sPthhM2tL8hx_7GIMWh1StQYbQDr_zk0QkX2l4PAsRF5rPizVhMkY/s72-c/Tree_graph_theory.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2780454567834772883.post-4147640828668808665</id><published>2012-08-31T23:25:00.001+05:30</published><updated>2012-08-31T23:25:39.014+05:30</updated><title type='text'>Reproduce Issues while debugging</title><content type='html'>&lt;a href=&quot;http://explicitcoder.in/reproduce-issues-while-debugging/#.UED6hUGWRsY.blogger&quot;&gt;Reproduce Issues while debugging&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div align=&quot;justify&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;span data-mce-style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-small;&quot; style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: xx-small;&quot;&gt;Software developers live and breathe debugging. It’s an essential and integral part of our day-to-day job. Whenever we are confronted with any bug in code, our typical first question is, “How can I reproduce this issue?” Any problems that cannot be reproduced are generally considered tricky to resolve. In order to really understand the challenges with debugging hard to reproduce issues, let’s walk through a few scenarios here.&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;justify&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;span data-mce-style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-small;&quot; style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: xx-small;&quot;&gt;Let’s say you are working on your company’s flagship product. While writing some code you come across some bugs. Frankly there is nothing abnormal in this scenario and as a software developer you always strive to minimize the number of bugs in your code. Most developers would just fix those bugs and move on.&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;justify&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;span data-mce-style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-small;&quot; style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: xx-small;&quot;&gt;Now let’s say your product is with the QA team and during testing they find some bugs in the product. Again, there is nothing exciting in this scenario because this is a typical step in the software development lifecycle.&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;justify&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;span data-mce-style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-small;&quot; style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: xx-small;&quot;&gt;Suppose that your product is released and deployed to customer sites. And only after release do you start getting complaints like application crashing, slow performance or the application has hung. Suppose these are problems that haven’t been seen before so your team may try to reproduce the problem but have no luck with it. As far as you can tell there is no hardware or software configuration difference that can cause this problem. So now you have to debug this problem that you cannot reproduce. What can you do here?&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;justify&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;span data-mce-style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-small;&quot; style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: xx-small;&quot;&gt;Let’s go a step even further. Let’s say your product is deployed to several customer sites. It’s working fine for all of them except one. At that site the client observes problems like app crashing and the application will hang. Your team cannot re-produce this problem in-house. You know this client generates most of the revenue for your company and because of product downtime, your company is losing money as well. This is really a pressure game; your team will be under lot of pressure to resolve these problem ASAP that you don’t know how to reproduce. These last two scenarios describe what it means to debug hard to reproduce issues. This article will talk about some approaches that you can take to tackle these types of situations.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;span data-mce-style=&quot;color: #00008b; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: small;&quot; style=&quot;color: darkblue; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;&lt;strong&gt;Post-Mortem Debugging&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;justify&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;span data-mce-style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-small;&quot; style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: xx-small;&quot;&gt;For the situations described above, there are some proven methodologies that you can use to get to bottom of the issues. The main idea behind these methodologies is that when a process is in an unhealthy state, the process itself contains critical data that you can use to find what’s going on. If somehow you can look into the memory space of processes and get to the right data structures, there is a very good chance that you can find the root cause of problem. This methodology is called&amp;nbsp;&lt;em&gt;post-mortem debugging&lt;/em&gt;.&amp;nbsp;&lt;strong&gt;Figure 1&amp;nbsp;&lt;/strong&gt;describes the steps involved in the process.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;center style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;span data-mce-style=&quot;color: navy; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-small;&quot; style=&quot;color: navy; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: xx-small;&quot;&gt;&lt;a data-mce-href=&quot;http://www.code-magazine.com/ShowLargeArticleImage.aspx?QuickID=1208091&amp;amp;Image=Bilgrami_Figure1.tif&quot; href=&quot;http://www.code-magazine.com/ShowLargeArticleImage.aspx?QuickID=1208091&amp;amp;Image=Bilgrami_Figure1.tif&quot; target=&quot;CoDeLargeArticleImage&quot;&gt;&lt;img alt=&quot;Click for a larger version of this image.&quot; border=&quot;0&quot; data-mce-src=&quot;http://www.code-magazine.com/ArticleImage.aspx?QuickID=1208091&amp;amp;Image=Bilgrami_Figure1.tif&quot; src=&quot;http://www.code-magazine.com/ArticleImage.aspx?QuickID=1208091&amp;amp;Image=Bilgrami_Figure1.tif&quot; style=&quot;border: 0px;&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/center&gt;&lt;div style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;span data-mce-style=&quot;color: navy; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-small;&quot; style=&quot;color: navy; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: xx-small;&quot;&gt;&lt;br /&gt;
&lt;strong&gt;Figure 1&lt;/strong&gt;: Steps involved in post-mortem debugging.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div align=&quot;justify&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;span data-mce-style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-small;&quot; style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: xx-small;&quot;&gt;Post-mortem debugging involves two steps. First you write code to take a snapshot of processes which gives us a file with the extension&amp;nbsp;&lt;em&gt;dmp&lt;/em&gt;. This file is called a&amp;nbsp;&lt;em&gt;dump file&lt;/em&gt;. The critical thing here is the timing of generating process dump. You will have to generate process dump when the problem is actually happening. If you take a snapshot of a process when it is in a healthy state, then it may not contain the data that can help you figure out the root cause of the problem. The second step is to analyze the dump file. You can use one of several debuggers to perform this type of analysis such as&lt;em&gt;cdb&lt;/em&gt;,&amp;nbsp;&lt;em&gt;nstd&lt;/em&gt;,&amp;nbsp;&lt;em&gt;Windbg&lt;/em&gt;,&amp;nbsp;&lt;em&gt;DebugDiag&lt;/em&gt;. You can even use Visual Studio for this type of analysis.&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;justify&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;span data-mce-style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-small;&quot; style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: xx-small;&quot;&gt;The chief advantage of this two-steps approach is that for analyzing the dump file, you don’t have to be on the same machine where the problem is happening. Once you generate the dump file, you can move it to any other computer for analysis. This is a huge benefit, because if the problem is happening at a client production data center, their system administrator will not be too eager to grant you permissions for dump file analysis.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;span data-mce-style=&quot;color: #00008b; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-small;&quot; style=&quot;color: darkblue; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: xx-small;&quot;&gt;&lt;em&gt;&lt;strong&gt;What Is a Dump File?&lt;/strong&gt;&lt;/em&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;justify&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;span data-mce-style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-small;&quot; style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: xx-small;&quot;&gt;Before I delve into details of how to capture a process dump file, let me explain what a dump file is. A dump file is basically a portion of process virtual memory that contains information like threads running in process, their call stacks, objects present on stack, objects present on the heap and exception records. All of this data becomes part of a dump file when you generate a memory snapshot. You can use dump files to troubleshoot problems like sluggish performance, application hangs or crashes.&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;justify&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;span data-mce-style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-small;&quot; style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: xx-small;&quot;&gt;When capturing a process dump, it is really important to use the right set of tools according to your target process. For instance, if your application is 32-bit running on a 64-bit operating system, you should use a 32-bit debugger to generate process dump. If you don’t use the correct version of the debugger, you will likely see incorrect call stacks that can completely throw off your analysis in the wrong direction.&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;justify&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;span data-mce-style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-small;&quot; style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: xx-small;&quot;&gt;You’ll use various tools available to generate process dumps. Which tools you use will depend upon the type of problem you are encountering. For example, a tool that you might use to generate process dump in a hang scenario, may not be very effective when you are investigating a crash or high CPU scenario. Given that most of the time you will have to use these tools in a production environment, generally you will prefer to use tools that have the smallest footprint. In this article I will discuss the following four tools for generating a dump file.&lt;/span&gt;&lt;/div&gt;&lt;ul style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;li&gt;&lt;span data-mce-style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-small;&quot; style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: xx-small;&quot;&gt;Task manager&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span data-mce-style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-small;&quot; style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: xx-small;&quot;&gt;ADPlus&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span data-mce-style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-small;&quot; style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: xx-small;&quot;&gt;ProcDump&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span data-mce-style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-small;&quot; style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: xx-small;&quot;&gt;DebugDiag&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;div align=&quot;justify&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;span data-mce-style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-small;&quot; style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: xx-small;&quot;&gt;Let’s take look at how to generate a process dump using each of these tools.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;span data-mce-style=&quot;color: #00008b; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: small;&quot; style=&quot;color: darkblue; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;&lt;strong&gt;Task Manager&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;justify&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;span data-mce-style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-small;&quot; style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: xx-small;&quot;&gt;The easiest way to generate a process dump is by using Task Manager. Starting from Windows Vista, Task Manager provides an option to generate a process dump. If you happen to use any operating system before Vista (e.g., Windows XP) you will not get this option within Task Manager. It is extremely simple to generate a dump file. All you have to do is launch Task Manager, click on the Processes tab, right-click to select a process and choose&amp;nbsp;&lt;strong&gt;Create Dump File&amp;nbsp;&lt;/strong&gt;from the popup menu as shown in&amp;nbsp;&lt;strong&gt;Figure 2&lt;/strong&gt;.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;center style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;span data-mce-style=&quot;color: navy; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-small;&quot; style=&quot;color: navy; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: xx-small;&quot;&gt;&lt;a data-mce-href=&quot;http://www.code-magazine.com/ShowLargeArticleImage.aspx?QuickID=1208091&amp;amp;Image=Bilgrami_Figure2.tif&quot; href=&quot;http://www.code-magazine.com/ShowLargeArticleImage.aspx?QuickID=1208091&amp;amp;Image=Bilgrami_Figure2.tif&quot; target=&quot;CoDeLargeArticleImage&quot;&gt;&lt;img alt=&quot;Click for a larger version of this image.&quot; border=&quot;0&quot; data-mce-src=&quot;http://www.code-magazine.com/ArticleImage.aspx?QuickID=1208091&amp;amp;Image=Bilgrami_Figure2.tif&quot; src=&quot;http://www.code-magazine.com/ArticleImage.aspx?QuickID=1208091&amp;amp;Image=Bilgrami_Figure2.tif&quot; style=&quot;border: 0px;&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/center&gt;&lt;div style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;span data-mce-style=&quot;color: navy; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-small;&quot; style=&quot;color: navy; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: xx-small;&quot;&gt;&lt;br /&gt;
&lt;strong&gt;Figure 2&lt;/strong&gt;: Generating dump file using Task Manager.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div align=&quot;justify&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;span data-mce-style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-small;&quot; style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: xx-small;&quot;&gt;Once you click the Create Dump File option, Windows will create a snapshot of the selected process and will save the snapshot in the temp directory. Keep in mind that if you want to create a dump file for a 32-bit process running on a 64-bit OS, you should use the 32-bit version of Task Manager, which is typically located at C:\Windows\SysWOW64.&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;justify&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;span data-mce-style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-small;&quot; style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: xx-small;&quot;&gt;Even though generating a process dump using Task Manager is straightforward, it is still a manual process. You’ll encounter certain situations where generating process dump using Task Manager will not be trivial. Let’s say your application crashes intermittently at unpredictable times. In this situation, it is not practical to have someone monitoring the process in Task Manager and click Create Dump File at exactly the right time when the application crashes. Other tools are better suited in this type of situation. That’s where this next tool, ADPlus, comes into the picture.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;span data-mce-style=&quot;color: #00008b; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: small;&quot; style=&quot;color: darkblue; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;&lt;strong&gt;ADPlus&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;justify&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;span data-mce-style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-small;&quot; style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: xx-small;&quot;&gt;ADPlus is a powerful and flexible tool to automate the dump file generation process. You can download it for free from Microsoft’s website at microsoft.com/whdc/devtools/debugging/default.mspx. ADPlus is part of what is called “Debugging Tools for Windows.” Earlier versions of ADPlus used to be a Visual Basic Script (vbs) file, but now ADPlus is available as a managed executable application. The older vbs scripts file is still part of that download. You can run ADPlus as a command-line application using switches to control the mode of operation and type of dump file you want to generate. ADPlus can also work using a configuration file that allows far more granular control to end users.&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;justify&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;span data-mce-style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-small;&quot; style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: xx-small;&quot;&gt;ADPlus supports two different execution modes for taking a snapshot of a faulty process.&lt;/span&gt;&lt;/div&gt;&lt;ol style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;li&gt;&lt;span data-mce-style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-small;&quot; style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: xx-small;&quot;&gt;&lt;em&gt;Hang mode&lt;/em&gt;. As the name suggests, this mode is typically used to troubleshoot processes that exhibit hang-like symptoms. Examples could be resource starvation due to high CPU usage, sluggish performance, etc.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span data-mce-style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-small;&quot; style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: xx-small;&quot;&gt;&lt;em&gt;Crash mode&lt;/em&gt;. This mode is used when you have to troubleshoot processes exhibiting crash behavior.&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;div align=&quot;justify&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;span data-mce-style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-small;&quot; style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: xx-small;&quot;&gt;Let’s take a look at couple of examples of how ADPlus can be used in these two modes. When you use ADPlus in hang mode, it’s pretty much the same action as generating a dump file using Task Manager. The following code snippet shows the command to use for generating a dump file in hang mode.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;span data-mce-style=&quot;color: #660000; font-family: &#39;Courier New&#39;; font-size: x-small;&quot; style=&quot;color: #660000; font-family: &#39;Courier New&#39;; font-size: xx-small;&quot;&gt;ADPlus&amp;nbsp;-hang&amp;nbsp;-pn&amp;nbsp;CodeMagHangDemo.exe&amp;nbsp;-o&amp;nbsp;E:\Dumps&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;justify&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;span data-mce-style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-small;&quot; style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: xx-small;&quot;&gt;You start running this command using the hang switch. This switch instructs ADPlus to generate a dump file as soon as the command executes. The example used the -pn switch to define the target process name but it could have used the -p switch to configure a process by its process ID. The -p switch is useful in situations where you have more than one instance of the same process running and you want to generate a dump file for a particular instance. Finally, the example above uses the -o switch to configure the path where the dump file should be created.&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;justify&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;span data-mce-style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-small;&quot; style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: xx-small;&quot;&gt;Now let’s take a look at another example of using ADPlus to generate a dump file of an application that crashes at random times.&amp;nbsp;&lt;strong&gt;Listing 1&lt;/strong&gt;shows the code used to exhibit this crash behavior. The example simulates randomness by asking the user to press a key.&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;justify&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;span data-mce-style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-small;&quot; style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: xx-small;&quot;&gt;In this scenario, using ADPlus in hang mode will not be a good choice as it’s not possible to predict when the process will crash. The following code snippet shows the command line to run ADPlus in crash mode.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;span data-mce-style=&quot;color: #660000; font-family: &#39;Courier New&#39;; font-size: x-small;&quot; style=&quot;color: #660000; font-family: &#39;Courier New&#39;; font-size: xx-small;&quot;&gt;ADPlus&amp;nbsp;-crash&amp;nbsp;-pn&amp;nbsp;CodeMagCrashDemo.exe&amp;nbsp;-o&amp;nbsp;E:\Dumps&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;justify&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;span data-mce-style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-small;&quot; style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: xx-small;&quot;&gt;The primary difference between the two command lines is the use of a&amp;nbsp;&lt;em&gt;-hang&amp;nbsp;&lt;/em&gt;vs. a&amp;nbsp;&lt;em&gt;-crash&amp;nbsp;&lt;/em&gt;switch. When you run ADPlus in crash mode, a debugger gets attached to the target process and it waits for an unhandled exception to be raised. Once a process raises an exception, the debugger writes out the dump file.&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;justify&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;span data-mce-style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-small;&quot; style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: xx-small;&quot;&gt;The real flexibility of ADPlus comes from the long list of switches it supports. It uses an XML-based configuration file to provide granular control for items like when to generate a dump file, what actions should be taken and the type of dump file to create. ADPlus comes with a help document that provides details on switches and configuration file management.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;span data-mce-style=&quot;color: #00008b; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: small;&quot; style=&quot;color: darkblue; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;&lt;strong&gt;ProcDump&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;justify&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;span data-mce-style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-small;&quot; style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: xx-small;&quot;&gt;ProcDump is another command-line tool used to generate dump files. You can download this free utility from Microsoft’s website at&lt;a data-mce-href=&quot;http://technet.microsoft.com/en-us/sysinternals/dd996900.aspx&quot; href=&quot;http://technet.microsoft.com/en-us/sysinternals/dd996900.aspx&quot;&gt;http://technet.microsoft.com/en-us/sysinternals/dd996900.aspx&lt;/a&gt;. Just like ADPlus, you can use ProcDump to monitor processes for hang or crashing issues. However, you get to see the real flexibility of ProcDump when you have to generate a dump file based on complex threshold criteria. Let’s take a look at an example.&amp;nbsp;&lt;strong&gt;Figure 3&lt;/strong&gt;shows the CPU usage as consumed by our sample application CodeMagHighCPUDemo.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;center style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;span data-mce-style=&quot;color: navy; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-small;&quot; style=&quot;color: navy; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: xx-small;&quot;&gt;&lt;a data-mce-href=&quot;http://www.code-magazine.com/ShowLargeArticleImage.aspx?QuickID=1208091&amp;amp;Image=Bilgrami_Figure3.tif&quot; href=&quot;http://www.code-magazine.com/ShowLargeArticleImage.aspx?QuickID=1208091&amp;amp;Image=Bilgrami_Figure3.tif&quot; target=&quot;CoDeLargeArticleImage&quot;&gt;&lt;img alt=&quot;Click for a larger version of this image.&quot; border=&quot;0&quot; data-mce-src=&quot;http://www.code-magazine.com/ArticleImage.aspx?QuickID=1208091&amp;amp;Image=Bilgrami_Figure3.tif&quot; src=&quot;http://www.code-magazine.com/ArticleImage.aspx?QuickID=1208091&amp;amp;Image=Bilgrami_Figure3.tif&quot; style=&quot;border: 0px;&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/center&gt;&lt;div style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;span data-mce-style=&quot;color: navy; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-small;&quot; style=&quot;color: navy; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: xx-small;&quot;&gt;&lt;br /&gt;
&lt;strong&gt;Figure 3&lt;/strong&gt;: Application with short and sustained high-CPU spikes.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div align=&quot;justify&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;span data-mce-style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-small;&quot; style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: xx-small;&quot;&gt;As you can see from&amp;nbsp;&lt;strong&gt;Figure 3&lt;/strong&gt;, our sample application consumes high CPU cycles intermittently. A few times, these CPU spikes are short, but you can also see sustained high CPU usage. Generally speaking, sustained high-CPU spikes for longer duration will be more concerning, and if you don’t know what is causing it, the next step will be to take a process dump when it’s consuming high CPU for a sustained period of time.&amp;nbsp;&lt;strong&gt;Figure 4&amp;nbsp;&lt;/strong&gt;shows the ProcDump command and its output.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;center style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;span data-mce-style=&quot;color: navy; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-small;&quot; style=&quot;color: navy; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: xx-small;&quot;&gt;&lt;a data-mce-href=&quot;http://www.code-magazine.com/ShowLargeArticleImage.aspx?QuickID=1208091&amp;amp;Image=Bilgrami_Figure4.tif&quot; href=&quot;http://www.code-magazine.com/ShowLargeArticleImage.aspx?QuickID=1208091&amp;amp;Image=Bilgrami_Figure4.tif&quot; target=&quot;CoDeLargeArticleImage&quot;&gt;&lt;img alt=&quot;Click for a larger version of this image.&quot; border=&quot;0&quot; data-mce-src=&quot;http://www.code-magazine.com/ArticleImage.aspx?QuickID=1208091&amp;amp;Image=Bilgrami_Figure4.tif&quot; src=&quot;http://www.code-magazine.com/ArticleImage.aspx?QuickID=1208091&amp;amp;Image=Bilgrami_Figure4.tif&quot; style=&quot;border: 0px;&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/center&gt;&lt;div style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;span data-mce-style=&quot;color: navy; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-small;&quot; style=&quot;color: navy; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: xx-small;&quot;&gt;&lt;br /&gt;
&lt;strong&gt;Figure 4&lt;/strong&gt;: ProcDump command and its output.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div align=&quot;justify&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;span data-mce-style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-small;&quot; style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: xx-small;&quot;&gt;The command line for this example sets up ProcDump by first using the -c switch to configure the threshold for CPU usage. This example uses a threshold of 75%. The command line adds a -s switch to indicate that the dump file should be generated only when the CPU usage threshold exceeds 10 seconds. Finally, the command line indicates the application name (CodeMagHighCPUDemo.exe) that ProcDump will monitor. As you can see from the output of the ProcDump command in&amp;nbsp;&lt;strong&gt;Figure 4&lt;/strong&gt;, CPU usage hit the 75% threshold but it didn’t stay there for 10 seconds. However, when there was sustained CPU usage for 10 seconds, ProcDump generated the dump file.&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;justify&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;span data-mce-style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-small;&quot; style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: xx-small;&quot;&gt;ProcDump offers several other very useful switches. For instance, this example only generated one dump file. In some situations you might like to get more than one dump file. In that case you can use the -n switch to configure the number of dump files you would like to get. Another useful parameter is -u, which you can use to configure CPU usage relative to a single core, which could be quite handy when you are running process on a multi-core machine. Another interesting switch, -w&lt;em&gt;,&amp;nbsp;&lt;/em&gt;will make ProcDump wait for a target process to be launched in case it’s not already running. One more parameter I find interesting is -p&lt;em&gt;,&amp;nbsp;&lt;/em&gt;which you can use to configure thresholds based on specific performance counters.&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;justify&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;span data-mce-style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-small;&quot; style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: xx-small;&quot;&gt;I highly encourage readers to run the ProcDump -? command or look at the product documentation at&amp;nbsp;&lt;a data-mce-href=&quot;http://technet.microsoft.com/en-us/sysinternals/dd996900.aspx&quot; href=&quot;http://technet.microsoft.com/en-us/sysinternals/dd996900.aspx&quot;&gt;http://technet.microsoft.com/en-us/sysinternals/dd996900.aspx&lt;/a&gt;&amp;nbsp;and go over other switches supported by this tool.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;span data-mce-style=&quot;color: #00008b; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: small;&quot; style=&quot;color: darkblue; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;&lt;strong&gt;DebugDiag&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;justify&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;span data-mce-style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-small;&quot; style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: xx-small;&quot;&gt;Debug Diagnostic Tool (DebugDiag) is yet another tool to troubleshoot issues like memory leaks, hangs, crashes etc. You can download it from the Microsoft Download Center. What makes it different from ADPlus or ProcDump is that it provides an easy to use UI to configure your rules and thresholds for capturing dump files. In addition, DebugDiag also has the ability to analyze dump files and determine the root cause of issues. The analysis service uses an extensible object model that a developer can use to write their own custom analysis scripts.&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;justify&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;span data-mce-style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-small;&quot; style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: xx-small;&quot;&gt;Before I delve into details of how to generate a crash dump via DebugDiag, let’s take a brief look at its four primary building blocks.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;span data-mce-style=&quot;color: #00008b; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-small;&quot; style=&quot;color: darkblue; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: xx-small;&quot;&gt;&lt;em&gt;&lt;strong&gt;User Interface&lt;/strong&gt;&lt;/em&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;justify&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;span data-mce-style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-small;&quot; style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: xx-small;&quot;&gt;&lt;strong&gt;Figure 5&amp;nbsp;&lt;/strong&gt;displays DebugDiag’s main user interface. You’ll use it to configure the rules and threshold to generate process dump as well as for dump files analysis.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;center style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;span data-mce-style=&quot;color: navy; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-small;&quot; style=&quot;color: navy; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: xx-small;&quot;&gt;&lt;a data-mce-href=&quot;http://www.code-magazine.com/ShowLargeArticleImage.aspx?QuickID=1208091&amp;amp;Image=Bilgrami_Figure5.tif&quot; href=&quot;http://www.code-magazine.com/ShowLargeArticleImage.aspx?QuickID=1208091&amp;amp;Image=Bilgrami_Figure5.tif&quot; target=&quot;CoDeLargeArticleImage&quot;&gt;&lt;img alt=&quot;Click for a larger version of this image.&quot; border=&quot;0&quot; data-mce-src=&quot;http://www.code-magazine.com/ArticleImage.aspx?QuickID=1208091&amp;amp;Image=Bilgrami_Figure5.tif&quot; src=&quot;http://www.code-magazine.com/ArticleImage.aspx?QuickID=1208091&amp;amp;Image=Bilgrami_Figure5.tif&quot; style=&quot;border: 0px;&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/center&gt;&lt;div style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;span data-mce-style=&quot;color: navy; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-small;&quot; style=&quot;color: navy; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: xx-small;&quot;&gt;&lt;br /&gt;
&lt;strong&gt;Figure 5:&amp;nbsp;&lt;/strong&gt;DebugDiag UI.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;span data-mce-style=&quot;color: #00008b; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-small;&quot; style=&quot;color: darkblue; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: xx-small;&quot;&gt;&lt;em&gt;&lt;strong&gt;Host&lt;/strong&gt;&lt;/em&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;justify&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;span data-mce-style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-small;&quot; style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: xx-small;&quot;&gt;Host application (DbgHost.exe) is used to perform post-mortem debugging on the dump file with the help of a control script. This script defines what actions the debugger takes for analyzing the dump files.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;span data-mce-style=&quot;color: #00008b; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-small;&quot; style=&quot;color: darkblue; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: xx-small;&quot;&gt;&lt;em&gt;&lt;strong&gt;Service&lt;/strong&gt;&lt;/em&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;justify&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;span data-mce-style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-small;&quot; style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: xx-small;&quot;&gt;DebugDiag contains a Windows service application that runs as a background process primarily to attach and detach host to target processes for crashing applications. In addition, this service also facilitates hang application detection, collection of performance monitor logs and dump counter maintenance, etc.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;span data-mce-style=&quot;color: #00008b; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-small;&quot; style=&quot;color: darkblue; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: xx-small;&quot;&gt;&lt;em&gt;&lt;strong&gt;Leak Tracker&lt;/strong&gt;&lt;/em&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;justify&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;span data-mce-style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-small;&quot; style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: xx-small;&quot;&gt;Leak Tracker is a dynamic link library used to monitor processes for troubleshooting memory leaks.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;span data-mce-style=&quot;color: #00008b; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: small;&quot; style=&quot;color: darkblue; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;&lt;strong&gt;Collecting a Crash Dump with DebugDiag&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;justify&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;span data-mce-style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-small;&quot; style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: xx-small;&quot;&gt;Let’s take a look at how you can use DebugDiag to collect a crash dump. For this example, from the main UI (&lt;strong&gt;Figure 5&lt;/strong&gt;) you will click the&amp;nbsp;&lt;em&gt;Add Rule&amp;nbsp;&lt;/em&gt;button. This will take you to the Select Rule Type dialog box shown in&amp;nbsp;&lt;strong&gt;Figure 6&lt;/strong&gt;.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;center style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;span data-mce-style=&quot;color: navy; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-small;&quot; style=&quot;color: navy; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: xx-small;&quot;&gt;&lt;a data-mce-href=&quot;http://www.code-magazine.com/ShowLargeArticleImage.aspx?QuickID=1208091&amp;amp;Image=Bilgrami_Figure6.tif&quot; href=&quot;http://www.code-magazine.com/ShowLargeArticleImage.aspx?QuickID=1208091&amp;amp;Image=Bilgrami_Figure6.tif&quot; target=&quot;CoDeLargeArticleImage&quot;&gt;&lt;img alt=&quot;Click for a larger version of this image.&quot; border=&quot;0&quot; data-mce-src=&quot;http://www.code-magazine.com/ArticleImage.aspx?QuickID=1208091&amp;amp;Image=Bilgrami_Figure6.tif&quot; src=&quot;http://www.code-magazine.com/ArticleImage.aspx?QuickID=1208091&amp;amp;Image=Bilgrami_Figure6.tif&quot; style=&quot;border: 0px;&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/center&gt;&lt;div style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;span data-mce-style=&quot;color: navy; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-small;&quot; style=&quot;color: navy; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: xx-small;&quot;&gt;&lt;br /&gt;
&lt;strong&gt;Figure 6&lt;/strong&gt;: DebugDiag - Select Rule Type.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div align=&quot;justify&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;span data-mce-style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-small;&quot; style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: xx-small;&quot;&gt;This dialog lets you configure a rule type. For this example, choose the&amp;nbsp;&lt;strong&gt;Crash&amp;nbsp;&lt;/strong&gt;option and click&amp;nbsp;&lt;strong&gt;Next&lt;/strong&gt;. Now you can select the target type, as shown in&amp;nbsp;&lt;strong&gt;Figure 7&lt;/strong&gt;. This dialog box offers you several options. For this example, choose the&amp;nbsp;&lt;strong&gt;A specific process&amp;nbsp;&lt;/strong&gt;option and then click&amp;nbsp;&lt;strong&gt;Next&lt;/strong&gt;.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;center style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;span data-mce-style=&quot;color: navy; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-small;&quot; style=&quot;color: navy; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: xx-small;&quot;&gt;&lt;a data-mce-href=&quot;http://www.code-magazine.com/ShowLargeArticleImage.aspx?QuickID=1208091&amp;amp;Image=Bilgrami_Figure7.tif&quot; href=&quot;http://www.code-magazine.com/ShowLargeArticleImage.aspx?QuickID=1208091&amp;amp;Image=Bilgrami_Figure7.tif&quot; target=&quot;CoDeLargeArticleImage&quot;&gt;&lt;img alt=&quot;Click for a larger version of this image.&quot; border=&quot;0&quot; data-mce-src=&quot;http://www.code-magazine.com/ArticleImage.aspx?QuickID=1208091&amp;amp;Image=Bilgrami_Figure7.tif&quot; src=&quot;http://www.code-magazine.com/ArticleImage.aspx?QuickID=1208091&amp;amp;Image=Bilgrami_Figure7.tif&quot; style=&quot;border: 0px;&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/center&gt;&lt;div style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;span data-mce-style=&quot;color: navy; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-small;&quot; style=&quot;color: navy; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: xx-small;&quot;&gt;&lt;br /&gt;
&lt;strong&gt;Figure 7&lt;/strong&gt;: DebugDiag - Select Target Type.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div align=&quot;justify&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;span data-mce-style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-small;&quot; style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: xx-small;&quot;&gt;You should see the Select Target dialog box (&lt;strong&gt;Figure 8&lt;/strong&gt;) for selecting a specific process. You can either choose a particular process instance or you can just type a process name.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;center style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;span data-mce-style=&quot;color: navy; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-small;&quot; style=&quot;color: navy; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: xx-small;&quot;&gt;&lt;a data-mce-href=&quot;http://www.code-magazine.com/ShowLargeArticleImage.aspx?QuickID=1208091&amp;amp;Image=Bilgrami_Figure8.tif&quot; href=&quot;http://www.code-magazine.com/ShowLargeArticleImage.aspx?QuickID=1208091&amp;amp;Image=Bilgrami_Figure8.tif&quot; target=&quot;CoDeLargeArticleImage&quot;&gt;&lt;img alt=&quot;Click for a larger version of this image.&quot; border=&quot;0&quot; data-mce-src=&quot;http://www.code-magazine.com/ArticleImage.aspx?QuickID=1208091&amp;amp;Image=Bilgrami_Figure8.tif&quot; src=&quot;http://www.code-magazine.com/ArticleImage.aspx?QuickID=1208091&amp;amp;Image=Bilgrami_Figure8.tif&quot; style=&quot;border: 0px;&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/center&gt;&lt;div style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;span data-mce-style=&quot;color: navy; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-small;&quot; style=&quot;color: navy; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: xx-small;&quot;&gt;&lt;br /&gt;
&lt;strong&gt;Figure 8&lt;/strong&gt;: DebugDiag - Select Target.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div align=&quot;justify&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;span data-mce-style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-small;&quot; style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: xx-small;&quot;&gt;Once you select a target process and click&amp;nbsp;&lt;strong&gt;Next&lt;/strong&gt;, you’ll get a chance to configure some advanced optional parameters (&lt;strong&gt;Figure 9&lt;/strong&gt;). You can set things like the number of dump files to generate, actions to be taken for first chance exception, etc. This example doesn’t require advanced configuration so leave the default settings and click&amp;nbsp;&lt;strong&gt;Next&lt;/strong&gt;.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;center style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;span data-mce-style=&quot;color: navy; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-small;&quot; style=&quot;color: navy; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: xx-small;&quot;&gt;&lt;a data-mce-href=&quot;http://www.code-magazine.com/ShowLargeArticleImage.aspx?QuickID=1208091&amp;amp;Image=Bilgrami_Figure9.tif&quot; href=&quot;http://www.code-magazine.com/ShowLargeArticleImage.aspx?QuickID=1208091&amp;amp;Image=Bilgrami_Figure9.tif&quot; target=&quot;CoDeLargeArticleImage&quot;&gt;&lt;img alt=&quot;Click for a larger version of this image.&quot; border=&quot;0&quot; data-mce-src=&quot;http://www.code-magazine.com/ArticleImage.aspx?QuickID=1208091&amp;amp;Image=Bilgrami_Figure9.tif&quot; src=&quot;http://www.code-magazine.com/ArticleImage.aspx?QuickID=1208091&amp;amp;Image=Bilgrami_Figure9.tif&quot; style=&quot;border: 0px;&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/center&gt;&lt;div style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;span data-mce-style=&quot;color: navy; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-small;&quot; style=&quot;color: navy; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: xx-small;&quot;&gt;&lt;br /&gt;
&lt;strong&gt;Figure 9&lt;/strong&gt;: DebugDiag - Advanced Configuration.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div align=&quot;justify&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;span data-mce-style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-small;&quot; style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: xx-small;&quot;&gt;You’ll now see&amp;nbsp;&lt;strong&gt;Figure 10&amp;nbsp;&lt;/strong&gt;which lets you provide a name for this newly defined rule and choose a path for the dump file. Leave the defaults and click&amp;nbsp;&lt;strong&gt;Next&lt;/strong&gt;.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;center style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;span data-mce-style=&quot;color: navy; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-small;&quot; style=&quot;color: navy; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: xx-small;&quot;&gt;&lt;a data-mce-href=&quot;http://www.code-magazine.com/ShowLargeArticleImage.aspx?QuickID=1208091&amp;amp;Image=Bilgrami_Figure10.tif&quot; href=&quot;http://www.code-magazine.com/ShowLargeArticleImage.aspx?QuickID=1208091&amp;amp;Image=Bilgrami_Figure10.tif&quot; target=&quot;CoDeLargeArticleImage&quot;&gt;&lt;img alt=&quot;Click for a larger version of this image.&quot; border=&quot;0&quot; data-mce-src=&quot;http://www.code-magazine.com/ArticleImage.aspx?QuickID=1208091&amp;amp;Image=Bilgrami_Figure10.tif&quot; src=&quot;http://www.code-magazine.com/ArticleImage.aspx?QuickID=1208091&amp;amp;Image=Bilgrami_Figure10.tif&quot; style=&quot;border: 0px;&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/center&gt;&lt;div style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;span data-mce-style=&quot;color: navy; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-small;&quot; style=&quot;color: navy; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: xx-small;&quot;&gt;&lt;br /&gt;
&lt;strong&gt;Figure 10&lt;/strong&gt;: DebugDiag - Dump Location and Rule Name.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div align=&quot;justify&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;span data-mce-style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-small;&quot; style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: xx-small;&quot;&gt;On the last screen (&lt;strong&gt;Figure 11&lt;/strong&gt;) you can choose to either activate this rule right away or leave it to activate at another time. If you don’t activate the rule right away, you will still have the ability to activate the rule later. For this demo, choose&amp;nbsp;&lt;strong&gt;Activate the rule now&amp;nbsp;&lt;/strong&gt;and then click&amp;nbsp;&lt;strong&gt;Finish&lt;/strong&gt;.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;center style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;span data-mce-style=&quot;color: navy; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-small;&quot; style=&quot;color: navy; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: xx-small;&quot;&gt;&lt;a data-mce-href=&quot;http://www.code-magazine.com/ShowLargeArticleImage.aspx?QuickID=1208091&amp;amp;Image=Bilgrami_Figure11.tif&quot; href=&quot;http://www.code-magazine.com/ShowLargeArticleImage.aspx?QuickID=1208091&amp;amp;Image=Bilgrami_Figure11.tif&quot; target=&quot;CoDeLargeArticleImage&quot;&gt;&lt;img alt=&quot;Click for a larger version of this image.&quot; border=&quot;0&quot; data-mce-src=&quot;http://www.code-magazine.com/ArticleImage.aspx?QuickID=1208091&amp;amp;Image=Bilgrami_Figure11.tif&quot; src=&quot;http://www.code-magazine.com/ArticleImage.aspx?QuickID=1208091&amp;amp;Image=Bilgrami_Figure11.tif&quot; style=&quot;border: 0px;&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/center&gt;&lt;div style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;span data-mce-style=&quot;color: navy; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-small;&quot; style=&quot;color: navy; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: xx-small;&quot;&gt;&lt;br /&gt;
&lt;strong&gt;Figure 11&lt;/strong&gt;: DebugDiag - Rule Activation.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div align=&quot;justify&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;span data-mce-style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-small;&quot; style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: xx-small;&quot;&gt;At this point the rule is configured. If you launch the sample application, CodeMagCrashDemo.exe, you should get a crash dump file at the configured location.&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;justify&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;span data-mce-style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-small;&quot; style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: xx-small;&quot;&gt;DebugDiag UI makes it very easy to configure different types of rules, however, it may not be your first choice tool for capturing process dump in a production envionment due to installation requirements of its components. DebugDiag also contains a simplified UI just for performing dump file analysis called&amp;nbsp;&lt;em&gt;Debug Diagnostics Tool (Analysis Only&lt;/em&gt;&lt;em&gt;).&amp;nbsp;&lt;/em&gt;It lets you generate process dumps from any of the light-weight tools discussed above and then use DebugDiag Analysis Only to analyze those dump files to find the root cause of an application’s problem.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;span data-mce-style=&quot;color: #00008b; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: small;&quot; style=&quot;color: darkblue; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;&lt;strong&gt;Dump File Analysis&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;justify&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;span data-mce-style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-small;&quot; style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: xx-small;&quot;&gt;Now that you have learned several different ways of capturing process dump, let me discuss how to analyze dump files. Like I mentioned earlier there are several different debuggers. In this article I will show you how to use DebugDiag. As shown in&amp;nbsp;&lt;strong&gt;Figure 12&lt;/strong&gt;, DebugDiag UI has an Advanced Analysis tab that can help you to perform analysis on a dump file. First you have to choose the analysis script you want to execute. Out of box, DebugDiag provides useful analysis script for problems like crash, hang, performance and memory issues. You can also add your own custom scripts. In this article we’ll analyze the dump file for CodeMagHangDemo process to try to solve why the application hangs. From the list of Available Analysis Scripts, choose the option for Crash/Hang Analyzers. Next, you can add the dump file by clicking the Add Data Files button. In some cases, you may get more than one process dump file. For example, if your application is hosted under IIS and if that IIS instance contains multiple web applications, you will see multiple w3wp.exe processes active at a time. In this case, if DebugDiag is configured to generate crash dump via process name (and not process ID) you will end up getting multiple dump files, one for each of the running w3wp process. In this situation you may not be sure as to which w3wp process needs to be analyzed. Your best choice will be add all those dump files by using the Add Data Files button.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;center style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;span data-mce-style=&quot;color: navy; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-small;&quot; style=&quot;color: navy; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: xx-small;&quot;&gt;&lt;a data-mce-href=&quot;http://www.code-magazine.com/ShowLargeArticleImage.aspx?QuickID=1208091&amp;amp;Image=Bilgrami_Figure12.tif&quot; href=&quot;http://www.code-magazine.com/ShowLargeArticleImage.aspx?QuickID=1208091&amp;amp;Image=Bilgrami_Figure12.tif&quot; target=&quot;CoDeLargeArticleImage&quot;&gt;&lt;img alt=&quot;Click for a larger version of this image.&quot; border=&quot;0&quot; data-mce-src=&quot;http://www.code-magazine.com/ArticleImage.aspx?QuickID=1208091&amp;amp;Image=Bilgrami_Figure12.tif&quot; src=&quot;http://www.code-magazine.com/ArticleImage.aspx?QuickID=1208091&amp;amp;Image=Bilgrami_Figure12.tif&quot; style=&quot;border: 0px;&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/center&gt;&lt;div style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;span data-mce-style=&quot;color: navy; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-small;&quot; style=&quot;color: navy; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: xx-small;&quot;&gt;&lt;br /&gt;
&lt;strong&gt;Figure 12&lt;/strong&gt;: DebugDiag - Analysis Tab.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div align=&quot;justify&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;span data-mce-style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-small;&quot; style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: xx-small;&quot;&gt;Once the analysis script and data file are set up, click the Start Analysis button. DebugDiag will analyze the dump file and will produce an HTML report that you can open in a browser. As shown in&amp;nbsp;&lt;strong&gt;Figure 13&lt;/strong&gt;, the report starts with a summary of issues that it has found. In the later part of this report, it contains more information about the process, threads in process, their call stack, etc. In this particular case, the report warns that thread 0 is making a sleep call. Click on thread # 0 to learn further details about it.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;center style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;span data-mce-style=&quot;color: navy; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-small;&quot; style=&quot;color: navy; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: xx-small;&quot;&gt;&lt;a data-mce-href=&quot;http://www.code-magazine.com/ShowLargeArticleImage.aspx?QuickID=1208091&amp;amp;Image=Bilgrami_Figure13.tif&quot; href=&quot;http://www.code-magazine.com/ShowLargeArticleImage.aspx?QuickID=1208091&amp;amp;Image=Bilgrami_Figure13.tif&quot; target=&quot;CoDeLargeArticleImage&quot;&gt;&lt;img alt=&quot;Click for a larger version of this image.&quot; border=&quot;0&quot; data-mce-src=&quot;http://www.code-magazine.com/ArticleImage.aspx?QuickID=1208091&amp;amp;Image=Bilgrami_Figure13.tif&quot; src=&quot;http://www.code-magazine.com/ArticleImage.aspx?QuickID=1208091&amp;amp;Image=Bilgrami_Figure13.tif&quot; style=&quot;border: 0px;&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/center&gt;&lt;div style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;span data-mce-style=&quot;color: navy; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-small;&quot; style=&quot;color: navy; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: xx-small;&quot;&gt;&lt;br /&gt;
&lt;strong&gt;Figure 13&lt;/strong&gt;: DebugDiag - Analysis Summary.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div align=&quot;justify&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;span data-mce-style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-small;&quot; style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: xx-small;&quot;&gt;&lt;strong&gt;Figure 14&amp;nbsp;&lt;/strong&gt;shows the details of thread 0 including the call stack. From this report we can conclude that the process goes into hang state because it makes a Sleep call.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;center style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;span data-mce-style=&quot;color: navy; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-small;&quot; style=&quot;color: navy; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: xx-small;&quot;&gt;&lt;a data-mce-href=&quot;http://www.code-magazine.com/ShowLargeArticleImage.aspx?QuickID=1208091&amp;amp;Image=Bilgrami_Figure14.tif&quot; href=&quot;http://www.code-magazine.com/ShowLargeArticleImage.aspx?QuickID=1208091&amp;amp;Image=Bilgrami_Figure14.tif&quot; target=&quot;CoDeLargeArticleImage&quot;&gt;&lt;img alt=&quot;Click for a larger version of this image.&quot; border=&quot;0&quot; data-mce-src=&quot;http://www.code-magazine.com/ArticleImage.aspx?QuickID=1208091&amp;amp;Image=Bilgrami_Figure14.tif&quot; src=&quot;http://www.code-magazine.com/ArticleImage.aspx?QuickID=1208091&amp;amp;Image=Bilgrami_Figure14.tif&quot; style=&quot;border: 0px;&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/center&gt;&lt;div style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;span data-mce-style=&quot;color: navy; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-small;&quot; style=&quot;color: navy; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: xx-small;&quot;&gt;&lt;br /&gt;
&lt;strong&gt;Figure 14&lt;/strong&gt;: DebugDiag - Thread Report.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;span data-mce-style=&quot;color: #00008b; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: small;&quot; style=&quot;color: darkblue; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;&lt;strong&gt;Summary&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;justify&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;span data-mce-style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-small;&quot; style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: xx-small;&quot;&gt;This article described the challenges associated with debugging hard-to-reproduce issues. It introduced post-mortem debugging and also looked at various tools that can help you to generate a dump file and later analyze those files. All the demos in this article are very basic. These tools provide much more flexible configurations too. I strongly encourage readers to read the support documentation of these tools and get familiar with those additional features.&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;
&lt;!-- Place this tag in your head or just before your close body tag --&gt;&lt;script src=&quot;http://apis.google.com/js/plusone.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;&lt;!-- Place this tag where you want the +1 button to render --&gt;&lt;g:plusone&gt;&lt;/g:plusone&gt;compile by &lt;br /&gt;
Divyang Panchasara &lt;br /&gt;
Sr. Programmer Analyst &lt;br /&gt;
Hitech OutSourcing&lt;br /&gt;
&lt;script type=&quot;text/javascript&quot;&gt;&lt;!--google_ad_client = &quot;ca-pub-9258662570457396&quot;;/* extra ad */google_ad_slot = &quot;0417071606&quot;;google_ad_width = 728;google_ad_height = 90;//--&gt;&lt;/script&gt;&lt;script src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;</content><link rel='replies' type='application/atom+xml' href='http://divyang4481.blogspot.com/feeds/4147640828668808665/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/2780454567834772883/4147640828668808665' title='11 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2780454567834772883/posts/default/4147640828668808665'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2780454567834772883/posts/default/4147640828668808665'/><link rel='alternate' type='text/html' href='http://divyang4481.blogspot.com/2012/08/reproduce-issues-while-debugging.html' title='Reproduce Issues while debugging'/><author><name>divyang4481</name><uri>http://www.blogger.com/profile/10981719905554797424</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>11</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2780454567834772883.post-5535940934716496818</id><published>2012-05-16T00:43:00.000+05:30</published><updated>2012-05-16T00:43:04.245+05:30</updated><title type='text'>Value Coercion in WPF</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br&gt;
&lt;br&gt;
&lt;object classid=&quot;clsid:d27cdb6e-ae6d-11cf-96b8-444553540000&quot; codebase=&quot;http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0&quot; height=&quot;480&quot; width=&quot;640&quot;&gt;&lt;param name=&quot;allowfullscreen&quot; value=&quot;false&quot;&gt;
&lt;param name=&quot;allowscriptaccess&quot; value=&quot;always&quot;&gt;
&lt;param name=&quot;src&quot; value=&quot;http://vimeo.com/moogaloop.swf?clip_id=11501514&amp;amp;server=vimeo.com&amp;amp;show_title=1&amp;amp;show_byline=1&amp;amp;show_portrait=0&amp;amp;color=00adef&amp;amp;fullscreen=0&quot;&gt;
&lt;embed type=&quot;application/x-shockwave-flash&quot; width=&quot;640&quot; height=&quot;480&quot; src=&quot;http://vimeo.com/moogaloop.swf?clip_id=11501514&amp;amp;server=vimeo.com&amp;amp;show_title=1&amp;amp;show_byline=1&amp;amp;show_portrait=0&amp;amp;color=00adef&amp;amp;fullscreen=0&quot; allowfullscreen=&quot;false&quot; allowscriptaccess=&quot;always&quot;&gt;&lt;/object&gt;

&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #d5d6d7; color: #333333; font-family: &amp;#39;Lucida Grande&amp;#39;, Verdana, Arial, sans-serif; font-size: 12px; line-height: 16px;&quot;&gt;&lt;/span&gt;&lt;br&gt;
&lt;div style=&quot;font-size: 1.05em;&quot;&gt;
&lt;strong&gt;What is value coercion?&lt;/strong&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 1.05em;&quot;&gt;
If you are not familiar with value coercion, it is simply a mechanism by which related (or &lt;em&gt;“interdependent”&lt;/em&gt;) dependency properties can be kept in sync and valid.&lt;/div&gt;
&lt;div style=&quot;font-size: 1.05em;&quot;&gt;
The quintessential example can be found within the Slider control. A Slider has both Minimum and Maximum properties. Clearly, it would be a problem if the Maximum value were allowed to fall below the Minimum value. Value coercion is used to prevent this invalid state from occuring.&lt;/div&gt;
&lt;div style=&quot;font-size: 1.05em;&quot;&gt;
In WPF, the Slider control (or more specifically, the RangeBase control) ensures that these property values stay valid by using a feature of the dependency property metadata called a CoerceValueCallback. Whenever the Maximum property value changes, it is passed through this coercion function. If the Maximum value happens to be less than the Minimum value, the function will coerce it to be equal to the Minimum value so that it is valid.&lt;/div&gt;
&lt;div style=&quot;font-size: 1.05em;&quot;&gt;
&lt;br&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 1.05em;&quot;&gt;
&lt;br&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 1.05em;&quot;&gt;
The coercion routine for the Maximum property looks something like this:&lt;/div&gt;
&lt;pre&gt;&lt;span style=&quot;font-family: Consolas;&quot;&gt;&lt;span style=&quot;font-family: Consolas;&quot;&gt;&lt;span style=&quot;font-family: Consolas;&quot;&gt;&lt;span style=&quot;font-family: Consolas;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas;&quot;&gt;private&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas;&quot;&gt;&lt;span style=&quot;font-family: Consolas;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas;&quot;&gt;static&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas;&quot;&gt;&lt;span style=&quot;font-family: Consolas;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas;&quot;&gt;object&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas;&quot;&gt;&lt;span style=&quot;font-family: Consolas;&quot;&gt; CoerceMaximum(&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #2b91af; font-family: Consolas;&quot;&gt;&lt;span style=&quot;color: #2b91af; font-family: Consolas;&quot;&gt;&lt;span style=&quot;color: #2b91af; font-family: Consolas;&quot;&gt;DependencyObject&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas;&quot;&gt;&lt;span style=&quot;font-family: Consolas;&quot;&gt; d,
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas;&quot;&gt;    object&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas;&quot;&gt;&lt;span style=&quot;font-family: Consolas;&quot;&gt; value)
&lt;/span&gt;&lt;/span&gt;{
&lt;span style=&quot;color: blue; font-family: Consolas;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas;&quot;&gt;    double&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas;&quot;&gt;&lt;span style=&quot;font-family: Consolas;&quot;&gt; min = ((&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #2b91af; font-family: Consolas;&quot;&gt;&lt;span style=&quot;color: #2b91af; font-family: Consolas;&quot;&gt;&lt;span style=&quot;color: #2b91af; font-family: Consolas;&quot;&gt;RangeBase&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas;&quot;&gt;&lt;span style=&quot;font-family: Consolas;&quot;&gt;)d).Minimum;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas;&quot;&gt;    double&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas;&quot;&gt;&lt;span style=&quot;font-family: Consolas;&quot;&gt; max = (&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas;&quot;&gt;double&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas;&quot;&gt;&lt;span style=&quot;font-family: Consolas;&quot;&gt;)value;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas;&quot;&gt;    if&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas;&quot;&gt;&lt;span style=&quot;font-family: Consolas;&quot;&gt; (max &amp;lt; min) &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas;&quot;&gt;return&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas;&quot;&gt;&lt;span style=&quot;font-family: Consolas;&quot;&gt; min;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas;&quot;&gt;    return&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas;&quot;&gt;&lt;span style=&quot;font-family: Consolas;&quot;&gt; value;
&lt;/span&gt;&lt;/span&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;div style=&quot;font-size: 1.05em;&quot;&gt;
Whenever the related Minimum property changes, the control explicitly coerces the Maximum property. This ensures that the Maximum value stays valid with respect to the new Minimum value.&lt;/div&gt;
&lt;div style=&quot;font-size: 1.05em;&quot;&gt;
The property changed callback for the Minimum property looks similar to this:&lt;/div&gt;
&lt;div style=&quot;font-size: 1.05em;&quot;&gt;
&lt;br&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 1.05em;&quot;&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;a href=&quot;http://divyang4481.blogspot.com/2012/05/value-coercion-in-wpf.html#more&quot;&gt;Read more »&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://divyang4481.blogspot.com/feeds/5535940934716496818/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/2780454567834772883/5535940934716496818' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2780454567834772883/posts/default/5535940934716496818'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2780454567834772883/posts/default/5535940934716496818'/><link rel='alternate' type='text/html' href='http://divyang4481.blogspot.com/2012/05/value-coercion-in-wpf.html' title='Value Coercion in WPF'/><author><name>divyang4481</name><uri>http://www.blogger.com/profile/10981719905554797424</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-2780454567834772883.post-8046042336176264752</id><published>2012-05-16T00:19:00.001+05:30</published><updated>2012-05-16T00:19:55.362+05:30</updated><title type='text'>WPF Architecture</title><content type='html'>&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; font-family: tahoma, arial, sans-serif; font-size: 13px;&quot;&gt;Today I would &amp;nbsp;like to discuss some &amp;nbsp;core part of WPF architecutre. in &amp;nbsp;WPF ,Presentation Framework, Core Presentation and Media Integration Layer (milcore) Are The Three Major components of WPF architecture.&amp;nbsp;These Are the Major portions of the WPF code.&amp;nbsp;Milcore is cash en&amp;nbsp;&lt;span class=&quot;IL_AD&quot; id=&quot;IL_AD8&quot; style=&quot;background-attachment: scroll !important; background-clip: initial !important; background-color: transparent !important; background-image: none !important; background-origin: initial !important; background-position: 0% 50%; background-repeat: repeat repeat !important; border-bottom-color: rgb(0, 153, 0) !important; border-bottom-style: solid !important; border-bottom-width: 1px !important; color: rgb(0, 153, 0) !important; cursor: pointer !important; display: inline !important; float: none !important; font-family: tahoma, arial, sans-serif !important; font-size: 13px !important; font-style: normal !important; padding-bottom: 1px !important; padding-left: 0px !important; padding-right: 0px !important; padding-top: 0px !important; position: static; text-decoration: underline !important;&quot;&gt;Unmanaged&lt;/span&gt;&amp;nbsp;Code in order to enable tight integration with DirectX.&amp;nbsp;DirectX engine is responsible for all display in WPF, allowing for efficient hardware and software&amp;nbsp;&lt;span class=&quot;IL_AD&quot; id=&quot;IL_AD9&quot; style=&quot;background-attachment: scroll !important; background-clip: initial !important; background-color: transparent !important; background-image: none !important; background-origin: initial !important; background-position: 0% 50%; background-repeat: repeat repeat !important; border-bottom-color: rgb(0, 153, 0) !important; border-bottom-style: solid !important; border-bottom-width: 1px !important; color: rgb(0, 153, 0) !important; cursor: pointer !important; display: inline !important; float: none !important; font-family: tahoma, arial, sans-serif !important; font-size: 13px !important; font-style: normal !important; padding-bottom: 1px !important; padding-left: 0px !important; padding-right: 0px !important; padding-top: 0px !important; position: static; text-decoration: underline !important;&quot;&gt;rendering&lt;/span&gt;.&amp;nbsp;CLR Provides fine control over the memory and execution.&amp;nbsp;The composition engine in milcore is Extremely sensitive performance, and required giving up Many advantages of the CLR to gain performance&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; font-family: tahoma, arial, sans-serif; font-size: 13px;&quot;&gt;for more details &amp;nbsp;click on below link&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; font-family: tahoma, arial, sans-serif; font-size: 13px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://explicitcoder.in/wp-content/uploads/2012/05/WPF.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;484&quot; src=&quot;http://explicitcoder.in/wp-content/uploads/2012/05/WPF.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; font-family: tahoma, arial, sans-serif; font-size: 13px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; font-family: tahoma, arial, sans-serif; font-size: 13px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Times New Roman&#39;; font-size: small;&quot;&gt;&lt;a href=&quot;http://explicitcoder.in/wpf-architecture/#.T7KlDg1JlHg.blogger&quot;&gt;WPF Architecture&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;script type=&quot;text/javascript&quot;&gt;
&lt;!--google_ad_client = &quot;ca-pub-9258662570457396&quot;;/* extra ad */google_ad_slot = &quot;0417071606&quot;;google_ad_width = 728;google_ad_height = 90;//--&gt;
&lt;/script&gt;&lt;script src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot; type=&quot;text/javascript&quot;&gt;
&lt;/script&gt;</content><link rel='replies' type='application/atom+xml' href='http://divyang4481.blogspot.com/feeds/8046042336176264752/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/2780454567834772883/8046042336176264752' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2780454567834772883/posts/default/8046042336176264752'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2780454567834772883/posts/default/8046042336176264752'/><link rel='alternate' type='text/html' href='http://divyang4481.blogspot.com/2012/05/wpf-architecture.html' title='WPF Architecture'/><author><name>divyang4481</name><uri>http://www.blogger.com/profile/10981719905554797424</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-2780454567834772883.post-8196573205990039500</id><published>2012-05-16T00:18:00.001+05:30</published><updated>2012-05-16T00:18:35.632+05:30</updated><title type='text'>INotifyPropertyChanged For ViewModel or For Model ?</title><content type='html'>&lt;a href=&quot;http://explicitcoder.in/inotifypropertychanged-for-viewmodel-or-model/#.T7Kk_QqxlBI.blogger&quot;&gt;INotifyPropertyChanged For ViewModel or For Model ?&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;script src=&quot;http://apis.google.com/js/plusone.js&quot; type=&quot;text/javascript&quot;&gt;
&lt;/script&gt;&lt;g:plusone&gt;&lt;/g:plusone&gt;compile by &lt;br /&gt;
Divyang Panchasara &lt;br /&gt;
Sr. Programmer Analyst &lt;br /&gt;
Hitech OutSourcing&lt;br /&gt;
&lt;script type=&quot;text/javascript&quot;&gt;
&lt;!--google_ad_client = &quot;ca-pub-9258662570457396&quot;;/* extra ad */google_ad_slot = &quot;0417071606&quot;;google_ad_width = 728;google_ad_height = 90;//--&gt;
&lt;/script&gt;&lt;script src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot; type=&quot;text/javascript&quot;&gt;
&lt;/script&gt;</content><link rel='replies' type='application/atom+xml' href='http://divyang4481.blogspot.com/feeds/8196573205990039500/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/2780454567834772883/8196573205990039500' title='452 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2780454567834772883/posts/default/8196573205990039500'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2780454567834772883/posts/default/8196573205990039500'/><link rel='alternate' type='text/html' href='http://divyang4481.blogspot.com/2012/05/inotifypropertychanged-for-viewmodel-or.html' title='INotifyPropertyChanged For ViewModel or For Model ?'/><author><name>divyang4481</name><uri>http://www.blogger.com/profile/10981719905554797424</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>452</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2780454567834772883.post-4471860050896659847</id><published>2012-04-03T22:02:00.003+05:30</published><updated>2012-04-03T22:02:38.137+05:30</updated><title type='text'>INotifyPropertyChanged For ViewModel or For Model ?</title><content type='html'>&lt;a href=&quot;http://explicitcoder.in/inotifypropertychanged-for-viewmodel-or-model/#.T3smGJIyEOU.blogger&quot;&gt;INotifyPropertyChanged For ViewModel or For Model ?&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://divyang4481.blogspot.com/feeds/4471860050896659847/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/2780454567834772883/4471860050896659847' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2780454567834772883/posts/default/4471860050896659847'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2780454567834772883/posts/default/4471860050896659847'/><link rel='alternate' type='text/html' href='http://divyang4481.blogspot.com/2012/04/inotifypropertychanged-for-viewmodel-or_03.html' title='INotifyPropertyChanged For ViewModel or For Model ?'/><author><name>divyang4481</name><uri>http://www.blogger.com/profile/10981719905554797424</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-2780454567834772883.post-4797801761367468411</id><published>2012-04-03T22:02:00.001+05:30</published><updated>2012-04-03T22:02:37.120+05:30</updated><title type='text'>INotifyPropertyChanged For ViewModel or For Model ?</title><content type='html'>&lt;a href=&quot;http://explicitcoder.in/inotifypropertychanged-for-viewmodel-or-model/#.T3smGJIyEOU.blogger&quot;&gt;INotifyPropertyChanged For ViewModel or For Model ?&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://divyang4481.blogspot.com/feeds/4797801761367468411/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/2780454567834772883/4797801761367468411' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2780454567834772883/posts/default/4797801761367468411'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2780454567834772883/posts/default/4797801761367468411'/><link rel='alternate' type='text/html' href='http://divyang4481.blogspot.com/2012/04/inotifypropertychanged-for-viewmodel-or.html' title='INotifyPropertyChanged For ViewModel or For Model ?'/><author><name>divyang4481</name><uri>http://www.blogger.com/profile/10981719905554797424</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-2780454567834772883.post-1690957178915702822</id><published>2011-09-29T23:12:00.000+05:30</published><updated>2011-09-29T23:12:05.706+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="IE 10"/><title type='text'>ASP.NET bugs  in IE10</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;Hi guys,&lt;br /&gt;
Today I have &amp;nbsp;test &amp;nbsp;one of my web application &amp;nbsp;on IE10 and I found that &amp;nbsp;my application is on working properly. in IE10. So at 1st glance I was &amp;nbsp;bashing &amp;nbsp;Microsoft for such poor IE version. &amp;nbsp;but latter I found that &amp;nbsp;my web application is not working not due to IE 10 &amp;nbsp;but due to &amp;nbsp;ASP.NET framework itself. How ?&lt;br /&gt;
&lt;br /&gt;
when I debug my application in IE10 with F12 then I found that there is no &amp;nbsp;_dopostback&amp;nbsp;function&amp;nbsp; of javascript &amp;nbsp;is defined..!!! in my page.. how &amp;nbsp;come it possible..&lt;br /&gt;
this is the job of ASP.NET &amp;nbsp;webform frameworks. &amp;nbsp;So after doing &amp;nbsp;lots of google, I found &amp;nbsp;that when engineers of ASP.NET webform framework were developing this they have not though &amp;nbsp;IE version can go beyond 9.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://www.hanselman.com/blog/content/binary/Windows-Live-Writer/0a6f656443a1_120A7/image_3.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;240&quot; src=&quot;http://www.hanselman.com/blog/content/binary/Windows-Live-Writer/0a6f656443a1_120A7/image_3.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
So when &amp;nbsp;request come from IE 10 in ASP.NET web application then it &amp;nbsp;version number of IE 10 is consider as&amp;nbsp;unknown&amp;nbsp;browser (and older browse as well) hence &amp;nbsp;ASP.NET framework does not include those javascript.&lt;br /&gt;
So&amp;nbsp;culprit&amp;nbsp;is browser&amp;nbsp;definition&amp;nbsp;system in ASP.NET framework.!!&lt;br /&gt;
&lt;br /&gt;
but thanks to Asp.net &#39;s engineer in Microsoft &amp;nbsp;who solve this &amp;nbsp;problem &amp;nbsp;with hotfixes.&lt;br /&gt;
&lt;br /&gt;
If you PC &amp;nbsp;or server has .NET 2.2/3.0/3.5 &amp;nbsp;then :&amp;nbsp;&lt;a href=&quot;http://support.microsoft.com/kb/2600100&quot;&gt;http://support.microsoft.com/kb/2600100&lt;/a&gt;&lt;br /&gt;
and if it has .NET 4.0 then &amp;nbsp;:&amp;nbsp;&lt;a href=&quot;http://support.microsoft.com/kb/2600088&quot;&gt;http://support.microsoft.com/kb/2600088&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
but if you have very old version of .net &amp;nbsp;that is &amp;nbsp;.Net 1.1 then please &amp;nbsp;upgrade your web application in to at least 2.0&lt;br /&gt;
&lt;br /&gt;
&lt;script src=&quot;http://apis.google.com/js/plusone.js&quot; type=&quot;text/javascript&quot;&gt;
&lt;/script&gt;   &lt;g:plusone&gt;&lt;/g:plusone&gt; compile by &lt;br /&gt;
Divyang Panchasara &lt;br /&gt;
Sr. Programmer Analyst &lt;br /&gt;
Hitech OutSourcing &lt;br /&gt;
&lt;script type=&quot;text/javascript&quot;&gt;
&lt;!--
google_ad_client = &quot;ca-pub-9258662570457396&quot;;
/* extra ad */
google_ad_slot = &quot;0417071606&quot;;
google_ad_width = 728;
google_ad_height = 90;
//--&gt;
&lt;/script&gt; &lt;script src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot; type=&quot;text/javascript&quot;&gt;
&lt;/script&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://divyang4481.blogspot.com/feeds/1690957178915702822/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/2780454567834772883/1690957178915702822' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2780454567834772883/posts/default/1690957178915702822'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2780454567834772883/posts/default/1690957178915702822'/><link rel='alternate' type='text/html' href='http://divyang4481.blogspot.com/2011/09/aspnet-bugs-in-ie10.html' title='ASP.NET bugs  in IE10'/><author><name>divyang4481</name><uri>http://www.blogger.com/profile/10981719905554797424</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-2780454567834772883.post-9154023806974937031</id><published>2011-09-20T00:16:00.002+05:30</published><updated>2011-09-20T00:16:51.329+05:30</updated><title type='text'>developer stack in new window 8</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://www.vinodunny.com/blog/image.axd?picture=win8%20Dev%20Stack_thumb.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://www.vinodunny.com/blog/image.axd?picture=win8%20Dev%20Stack_thumb.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;script src=&quot;http://apis.google.com/js/plusone.js&quot; type=&quot;text/javascript&quot;&gt;
&lt;/script&gt;   &lt;g:plusone&gt;&lt;/g:plusone&gt; compile by &lt;br /&gt;
Divyang Panchasara &lt;br /&gt;
Sr. Programmer Analyst &lt;br /&gt;
Hitech OutSourcing &lt;br /&gt;
&lt;script type=&quot;text/javascript&quot;&gt;
&lt;!--
google_ad_client = &quot;ca-pub-9258662570457396&quot;;
/* extra ad */
google_ad_slot = &quot;0417071606&quot;;
google_ad_width = 728;
google_ad_height = 90;
//--&gt;
&lt;/script&gt; &lt;script src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot; type=&quot;text/javascript&quot;&gt;
&lt;/script&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://divyang4481.blogspot.com/feeds/9154023806974937031/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/2780454567834772883/9154023806974937031' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2780454567834772883/posts/default/9154023806974937031'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2780454567834772883/posts/default/9154023806974937031'/><link rel='alternate' type='text/html' href='http://divyang4481.blogspot.com/2011/09/developer-stack-in-new-window-8.html' title='developer stack in new window 8'/><author><name>divyang4481</name><uri>http://www.blogger.com/profile/10981719905554797424</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-2780454567834772883.post-259955481955718678</id><published>2011-09-20T00:07:00.002+05:30</published><updated>2011-09-20T00:07:56.145+05:30</updated><title type='text'>Microsoft’s new Windows Runtime</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: tahoma, arial, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;Make no mistake: Microsoft has re-invented the Windows API in WinRT. Just to recap, WinRT is the API for Metro-style applications, the touch-centric, app-centric API for tablets and, one presumes, eventually for Windows Phone (though Microsoft has yet to admit it).&lt;/div&gt;&lt;div style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;WinRT is only useable from Metro applications. You cannot call WinRT from a Win32 application, nor vice versa*. I think it is reasonable to assume that a future version of Windows which runs only WinRT is a possibility; and that Windows 8 on ARM will look a bit like that even though Win32 will still be there, but mainly out of sight; but I am speculating.&lt;/div&gt;&lt;div style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;Does that mean Win32 is now legacy? In a way, but such a huge legacy that for the moment we should think of Windows 8 as two platforms side by side.&lt;/div&gt;&lt;div style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;There is no inter-app communication in WinRT other than by the pre-defined contracts built into the system (though Lovell noted that you could always use the file system and polling for a crude inter-process communication).&lt;/div&gt;&lt;div style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;There is no way to install a shared dynamic library. Apps can only use the system libraries together with what you install with the app. Each app lives in its own context and is isolated. In other words, WinRT is not extensible, other than within your app’s code*.&lt;/div&gt;&lt;div style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;If you figure out a way to bypass limitations of WinRT by calling other Windows APIs, your app might work but the submission process for the Windows Store will prohibit it.&lt;/div&gt;&lt;div style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;Versioning is built into WinRT. This means that when Windows 9 comes along, you will be able to code just against the Windows 8 versions of the classes, for compatibility, and your IDE can support this by only exposing the Windows 8 version of the API.&lt;/div&gt;&lt;div style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;The CLR exists in the Metro environment, for use by .NET applications, complete with JIT (Just in time) compilation. However only a subset of the .NET Framework libraries are included. Microsoft aimed to include only what was necessary for Metro. I am not sure yet what is included and what is not, beyond the obvious (no Windows Forms, for example) but will be investigating what is documented. The native WinRT APIs look similar to a COM callable wrapper from the .NET side. That said, you do not normally need to care about WinRT interfaces, even though these are there in WinRT. Normally you interact with WinRT classes, making it more natural for .NET than working with COM.&lt;/div&gt;&lt;div style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;WinRT is full of asynchronous calls. Lovell told us that Microsoft had seen in the past that if both synchronous and asynchronous APIs are available for the same function, then developers often use the synchronous version even when they should not, making applications less responsive. The new await keyword in C# makes this easy to code.&lt;/div&gt;&lt;div style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;WinRT makes use of the ILDasm metadata format which is also used by .NET. This means you get rich metadata for IntelliSense and debugging, but note that the actual runtime is not .NET; they just borrowed the same metadata format.&lt;/div&gt;&lt;div style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;WinRT objects are reference counted like COM for memory management, with weak references to avoid circularity. You should not have to worry about this; you can code according to the conventions of your language.&lt;/div&gt;&lt;div style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;There are three ways to write WinRT applications. One is C++, in which case you write directly to the “projection” of WinRT into your language. The second is .NET, in which case your code goes via the CLR. The third is HTML and JavaScript, in which case your code goes via the “Chakra” JavaScript engine also used by Internet Explorer 9 and higher. Lovell assured me that there is little difference in performance in most cases, though there could be advantages for C++ in certain niche scenarios. Of course we heard that story for .NET as well, but from what I have seen it is more plausible in WinRT.&lt;/div&gt;&lt;div style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;There is no message loop in WinRT. There is no GDI in WinRT. All graphics are via DirectX. XNA, the .NET games framework, is not supported. It seems that you will need to use C++ for fancy DirectX coding, though this is not confirmed. Of course your XAML or Canvas code will be rendered by DirectX under the covers.&lt;/div&gt;&lt;div style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;It is fascinating to see how Microsoft has borrowed XAML and ILDasm from .NET, but that WinRT is native and not .NET at its core. My take on this is that Microsoft intended to preserve the productivity of .NET, but without any performance compromise.&lt;/div&gt;&lt;div style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;Despite the inclusion of .NET though, the fact that only a subset of the Framework is available, and that interop to the Windows API will not work*, means that most existing apps will need considerable work to be ported to Metro.&lt;/div&gt;&lt;h3 style=&quot;margin-bottom: 10px; margin-top: 10px; padding-bottom: 0px; padding-top: 0px;&quot;&gt;*Updates&lt;/h3&gt;&lt;div style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;A few clarifications.&lt;/div&gt;&lt;div style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;It has been shown that you can call WinRT from Win32 (the favoured word for Win32 seems to be “desktop applications”) though I’m not sure how useful it is.&lt;/div&gt;&lt;div style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;Concerning P/Invoke (Platform Invocation) to Win32 APIs, apparently this does work for a certain specified, small subset of the Windows API. It also works for your own native code DLL, with the proviso that if your native code DLL calls a disallowed Win32 API it will raise an error.&lt;/div&gt;&lt;div style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;WinRT is partially extensible. A&amp;nbsp;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/windows/apps/hh441589%28v=VS.85%29.aspx&quot; style=&quot;color: #06008a; font-weight: bold; text-decoration: none;&quot; target=&quot;_blank&quot;&gt;Framework Extension&lt;/a&gt;&amp;nbsp;is a library which you can reference as a dependency in your app’s manifest. When the app is deployed it will download this dependency from the Windows Store. An example is the C Runtime Library. An extension library installs into its own directory, and can be used by multiple WinRT apps provided each one also references it in their manifests. However, the caveat is that only Microsoft can create these extensions: there is no way to create your own&amp;nbsp;&lt;em&gt;shared ext&lt;/em&gt;ension for general distribution, though an enterprise can deploy a shared extension internally.&lt;/div&gt;&lt;br /&gt;
&lt;script type=&quot;text/javascript&quot;&gt;
&lt;!--
google_ad_client = &quot;ca-pub-9258662570457396&quot;;
/* extra ad */
google_ad_slot = &quot;0417071606&quot;;
google_ad_width = 728;
google_ad_height = 90;
//--&gt;
&lt;/script&gt; &lt;script src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot; type=&quot;text/javascript&quot;&gt;
&lt;/script&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://divyang4481.blogspot.com/feeds/259955481955718678/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/2780454567834772883/259955481955718678' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2780454567834772883/posts/default/259955481955718678'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2780454567834772883/posts/default/259955481955718678'/><link rel='alternate' type='text/html' href='http://divyang4481.blogspot.com/2011/09/microsofts-new-windows-runtime.html' title='Microsoft’s new Windows Runtime'/><author><name>divyang4481</name><uri>http://www.blogger.com/profile/10981719905554797424</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-2780454567834772883.post-2620258830469813886</id><published>2011-08-15T01:21:00.000+05:30</published><updated>2011-08-15T01:21:45.127+05:30</updated><title type='text'>Cities of the future: Ahmedabad</title><content type='html'>&lt;iframe width=&quot;425&quot; height=&quot;344&quot; src=&quot;http://www.youtube.com/embed/tqFFh2g5fU4?fs=1&quot; frameborder=&quot;0&quot; allowfullscreen=&quot;&quot;&gt;&lt;/iframe&gt;&lt;br /&gt;&lt;br /&gt;&lt;!-- Place this tag in your head or just before your close body tag --&gt;&lt;script type=&quot;text/javascript&quot; src=&quot;http://apis.google.com/js/plusone.js&quot;&gt;&lt;/script&gt;&lt;!-- Place this tag where you want the +1 button to render --&gt;&lt;g:plusone&gt;&lt;/g:plusone&gt;compile by&lt;br /&gt;Divyang Panchasara&lt;br /&gt;Sr. Programmer Analyst&lt;br /&gt;Hitech OutSourcing&lt;br /&gt;&lt;script type=&quot;text/javascript&quot;&gt;&lt;!--google_ad_client = &quot;ca-pub-9258662570457396&quot;;/* extra ad */google_ad_slot = &quot;0417071606&quot;;google_ad_width = 728;google_ad_height = 90;//--&gt;&lt;/script&gt;&lt;script type=&quot;text/javascript&quot; src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot;&gt;&lt;/script&gt;</content><link rel='replies' type='application/atom+xml' href='http://divyang4481.blogspot.com/feeds/2620258830469813886/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/2780454567834772883/2620258830469813886' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2780454567834772883/posts/default/2620258830469813886'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2780454567834772883/posts/default/2620258830469813886'/><link rel='alternate' type='text/html' href='http://divyang4481.blogspot.com/2011/08/cities-of-future-ahmedabad.html' title='Cities of the future: Ahmedabad'/><author><name>divyang4481</name><uri>http://www.blogger.com/profile/10981719905554797424</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://img.youtube.com/vi/tqFFh2g5fU4/default.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2780454567834772883.post-5898639210897649850</id><published>2011-07-27T01:06:00.000+05:30</published><updated>2011-07-27T01:06:36.224+05:30</updated><title type='text'>Najarna Jam Chhalkavine</title><content type='html'>&lt;a href=&quot;http://mio.to/zQb&quot;&gt;Najarna Jam Chhalkavine&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;!-- Place this tag in your head or just before your close body tag --&gt;&lt;script type=&quot;text/javascript&quot; src=&quot;http://apis.google.com/js/plusone.js&quot;&gt;&lt;/script&gt;&lt;!-- Place this tag where you want the +1 button to render --&gt;&lt;g:plusone&gt;&lt;/g:plusone&gt;compile by&lt;br /&gt;Divyang Panchasara&lt;br /&gt;Sr. Programmer Analyst&lt;br /&gt;Hitech OutSourcing&lt;br /&gt;&lt;script type=&quot;text/javascript&quot;&gt;&lt;!--google_ad_client = &quot;ca-pub-9258662570457396&quot;;/* extra ad */google_ad_slot = &quot;0417071606&quot;;google_ad_width = 728;google_ad_height = 90;//--&gt;&lt;/script&gt;&lt;script type=&quot;text/javascript&quot; src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot;&gt;&lt;/script&gt;</content><link rel='replies' type='application/atom+xml' href='http://divyang4481.blogspot.com/feeds/5898639210897649850/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/2780454567834772883/5898639210897649850' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2780454567834772883/posts/default/5898639210897649850'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2780454567834772883/posts/default/5898639210897649850'/><link rel='alternate' type='text/html' href='http://divyang4481.blogspot.com/2011/07/najarna-jam-chhalkavine.html' title='Najarna Jam Chhalkavine'/><author><name>divyang4481</name><uri>http://www.blogger.com/profile/10981719905554797424</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-2780454567834772883.post-248520013558101781</id><published>2011-07-15T09:39:00.000+05:30</published><updated>2011-07-15T09:39:17.027+05:30</updated><title type='text'>Tesco: Homeplus Subway Virtual Store (Movie)</title><content type='html'>&lt;iframe width=&quot;425&quot; height=&quot;344&quot; src=&quot;http://www.youtube.com/embed/nJVoYsBym88?fs=1&quot; frameborder=&quot;0&quot; allowfullscreen=&quot;&quot;&gt;&lt;/iframe&gt;&lt;br /&gt;&lt;br /&gt;&lt;!-- Place this tag in your head or just before your close body tag --&gt;&lt;script type=&quot;text/javascript&quot; src=&quot;http://apis.google.com/js/plusone.js&quot;&gt;&lt;/script&gt;&lt;!-- Place this tag where you want the +1 button to render --&gt;&lt;g:plusone&gt;&lt;/g:plusone&gt;compile by&lt;br /&gt;Divyang Panchasara&lt;br /&gt;Sr. Programmer Analyst&lt;br /&gt;Hitech OutSourcing&lt;br /&gt;&lt;script type=&quot;text/javascript&quot;&gt;&lt;!--google_ad_client = &quot;ca-pub-9258662570457396&quot;;/* extra ad */google_ad_slot = &quot;0417071606&quot;;google_ad_width = 728;google_ad_height = 90;//--&gt;&lt;/script&gt;&lt;script type=&quot;text/javascript&quot; src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot;&gt;&lt;/script&gt;</content><link rel='replies' type='application/atom+xml' href='http://divyang4481.blogspot.com/feeds/248520013558101781/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/2780454567834772883/248520013558101781' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2780454567834772883/posts/default/248520013558101781'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2780454567834772883/posts/default/248520013558101781'/><link rel='alternate' type='text/html' href='http://divyang4481.blogspot.com/2011/07/tesco-homeplus-subway-virtual-store.html' title='Tesco: Homeplus Subway Virtual Store (Movie)'/><author><name>divyang4481</name><uri>http://www.blogger.com/profile/10981719905554797424</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://img.youtube.com/vi/nJVoYsBym88/default.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2780454567834772883.post-1776498146821298560</id><published>2011-07-12T03:01:00.001+05:30</published><updated>2011-07-12T21:36:24.464+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="ASp.NET MVC"/><title type='text'>ViewBag  v/s  ViewData</title><content type='html'>&lt;script src=&quot;http://apis.google.com/js/plusone.js&quot; type=&quot;text/javascript&quot;&gt;
&lt;/script&gt;Hi Friends,&lt;br&gt;
If you go through ASP.NET MVC 3.0 framework then you will find  two frequently  used collection of data object which  used to pass data between control and views  and partial views. as both are doing similar functionality but has  some difference in that , so today , I would like to  put some difference of those and interoperability of that .&lt;br&gt;
&lt;br&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;a href=&quot;http://travel-connect.co.uk/media/images/tabs/tab-viewdata-on.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://travel-connect.co.uk/media/images/tabs/tab-viewdata-on.png&quot;&gt;     V/s &lt;/a&gt;&lt;a href=&quot;http://www.tuckandcover.com/images/viewbag.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://www.tuckandcover.com/images/viewbag.jpg&quot;&gt;&lt;/a&gt;&lt;/div&gt;&lt;br&gt;
&lt;br&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoTableGrid&quot; style=&quot;border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0cm 5.4pt 0cm 5.4pt; mso-yfti-tbllook: 1184;&quot;&gt;&lt;tbody&gt;
&lt;tr style=&quot;mso-yfti-firstrow: yes; mso-yfti-irow: 0;&quot;&gt;   &lt;td style=&quot;border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 231.05pt;&quot; valign=&quot;top&quot; width=&quot;385&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;ViewData&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-left: none; border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 231.05pt;&quot; valign=&quot;top&quot; width=&quot;385&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;ViewBag&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr style=&quot;mso-yfti-irow: 1;&quot;&gt;   &lt;td style=&quot;border-top: none; border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 231.05pt;&quot; valign=&quot;top&quot; width=&quot;385&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;It is dictionary of name/value pair  collection&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 231.05pt;&quot; valign=&quot;top&quot; width=&quot;385&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;It is dynamic  type object&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr style=&quot;mso-yfti-irow: 2;&quot;&gt;   &lt;td style=&quot;border-top: none; border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 231.05pt;&quot; valign=&quot;top&quot; width=&quot;385&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;This features exist since 1&lt;sup&gt;st&lt;/sup&gt; release of ASP.NET MVC&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 231.05pt;&quot; valign=&quot;top&quot; width=&quot;385&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;This features available from ASP.NET MVC 3.0&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr style=&quot;mso-yfti-irow: 3;&quot;&gt;   &lt;td style=&quot;border-top: none; border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 231.05pt;&quot; valign=&quot;top&quot; width=&quot;385&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;This will work  in ASP.NET with   .net 3.5 framework and above&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 231.05pt;&quot; valign=&quot;top&quot; width=&quot;385&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;This will work well with ASP.NET 4.0    with .net 4.0 framework and above&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr style=&quot;mso-yfti-irow: 4;&quot;&gt;   &lt;td style=&quot;border-top: none; border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 231.05pt;&quot; valign=&quot;top&quot; width=&quot;385&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;ViewData is faster compare to ViewBag   &lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 231.05pt;&quot; valign=&quot;top&quot; width=&quot;385&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;ViewBag is slower than ViewData&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr style=&quot;mso-yfti-irow: 5;&quot;&gt;   &lt;td style=&quot;border-top: none; border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 231.05pt;&quot; valign=&quot;top&quot; width=&quot;385&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;While retrieving  data from   viewData in to view pages , one need to do proper type casting &lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 231.05pt;&quot; valign=&quot;top&quot; width=&quot;385&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;While retrieving  data from   viewbag in to view pages , one need  not to do  type casting&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr style=&quot;mso-yfti-irow: 6; mso-yfti-lastrow: yes;&quot;&gt;   &lt;td style=&quot;border-top: none; border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 231.05pt;&quot; valign=&quot;top&quot; width=&quot;385&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;Hence it make code with lots of    type casting  fragments &lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 231.05pt;&quot; valign=&quot;top&quot; width=&quot;385&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;Hence it make more clear code&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;br&gt;
&lt;a href=&quot;http://divyang4481.blogspot.com/2011/07/viewbag-vs-viewdata.html#more&quot;&gt;Read more »&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://divyang4481.blogspot.com/feeds/1776498146821298560/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/2780454567834772883/1776498146821298560' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2780454567834772883/posts/default/1776498146821298560'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2780454567834772883/posts/default/1776498146821298560'/><link rel='alternate' type='text/html' href='http://divyang4481.blogspot.com/2011/07/viewbag-vs-viewdata.html' title='ViewBag  v/s  ViewData'/><author><name>divyang4481</name><uri>http://www.blogger.com/profile/10981719905554797424</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/AVvXsEhmh_TtLs1YlE2SzG9JVwq8gE8giyR0h_7uU3_IWCRZy-s65UDL56AHepz0CwG0vVEchbm806AT3spbzR1tZLfOh9G6LQf3ND3AxLukdyC7nSIz1BPhYL8vfBG3mw2eLfXd0LMfsndnJ9Y/s72-c/viewdata.png" height="72" width="72"/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2780454567834772883.post-2322552728289763282</id><published>2011-07-08T00:32:00.002+05:30</published><updated>2011-07-08T00:32:48.621+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android"/><category scheme="http://www.blogger.com/atom/ns#" term="decompile"/><title type='text'>How to decompile  Android  application  to  get sourcecode</title><content type='html'>Hi Friends,&lt;br&gt;
reverse engineering is everywhere. but reverse  engineering is meant for  code review of  vulnerable application. so I  hope you guys will not  use this reverse engineering  tricks to do any  illegal things.&lt;br&gt;
all android application are running  on &lt;a href=&quot;http://en.wikipedia.org/wiki/Dalvik_%28software%29&quot;&gt;Dalvik&lt;/a&gt;  , which is a Virtual Machine having register-base  architecture and  different from Java Virtual Machine by sun-microsystem (and now by  oracle ) which is stack machine.&lt;br&gt;
hence all android application is  consist of Dalvik Executable (.dex).  hence to convert those  android  application( *.apk) to source code we have to follow below steps&lt;br&gt;
&lt;br&gt;
(Note : apk is packing of  .dex  file and other resources.)&lt;br&gt;
&lt;br&gt;
step to decompile&lt;br&gt;
&lt;br&gt;
1) convert  .dex file format to  .class file&lt;br&gt;
2) convert  .class file format to  java code file&lt;br&gt;
&lt;br&gt;
1) android application will come with .apk file format. which contains  .dex file . &lt;br&gt;
hence  to convert .dex file in to .class file ( and those compress .class files  are placed in .jar file)&lt;br&gt;
one need to have .dex  to  .class file converter .(both are binary format)&lt;br&gt;
you can download such  tool from below link.&lt;br&gt;
&lt;br&gt;
&lt;iframe frameborder=&quot;0&quot; marginheight=&quot;0&quot; marginwidth=&quot;0&quot; scrolling=&quot;no&quot; src=&quot;https://skydrive.live.com/embedicon.aspx/.Public/dex2jar-convert.rar?cid=30ac17c4a7e6db8e&amp;amp;sc=documents&quot; style=&quot;background-color: #fcfcfc; height: 115px; padding: 0; width: 98px;&quot; title=&quot;Preview&quot;&gt;&lt;/iframe&gt;&lt;br&gt;
 after downloading you need to extract them and it will have following files in you  file system.&lt;br&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj2NqOttJOsIgKXrhAEcoxGliBBARuvvJNXhLOIBmJgzagoEmLa2jh_fad0BMDfuw68Fxdpy-0O83Oebcjd9KsLS15aPkhyGR2IZEk2njm_P-ZoraaSjlexDjutEqMzEjcaOhDkTENEoSg/s1600/1.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;361&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj2NqOttJOsIgKXrhAEcoxGliBBARuvvJNXhLOIBmJgzagoEmLa2jh_fad0BMDfuw68Fxdpy-0O83Oebcjd9KsLS15aPkhyGR2IZEk2njm_P-ZoraaSjlexDjutEqMzEjcaOhDkTENEoSg/s640/1.png&quot; width=&quot;640&quot;&gt;&lt;/a&gt;&lt;/div&gt;&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;a href=&quot;http://divyang4481.blogspot.com/2011/07/how-to-decompile-android-application-to.html#more&quot;&gt;Read more »&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://divyang4481.blogspot.com/feeds/2322552728289763282/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/2780454567834772883/2322552728289763282' title='16 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2780454567834772883/posts/default/2322552728289763282'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2780454567834772883/posts/default/2322552728289763282'/><link rel='alternate' type='text/html' href='http://divyang4481.blogspot.com/2011/07/how-to-decompile-android-application-to.html' title='How to decompile  Android  application  to  get sourcecode'/><author><name>divyang4481</name><uri>http://www.blogger.com/profile/10981719905554797424</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/AVvXsEj2NqOttJOsIgKXrhAEcoxGliBBARuvvJNXhLOIBmJgzagoEmLa2jh_fad0BMDfuw68Fxdpy-0O83Oebcjd9KsLS15aPkhyGR2IZEk2njm_P-ZoraaSjlexDjutEqMzEjcaOhDkTENEoSg/s72-c/1.png" height="72" width="72"/><thr:total>16</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2780454567834772883.post-7766723899558456009</id><published>2011-07-06T01:32:00.002+05:30</published><updated>2011-07-12T21:37:29.813+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="MVVM"/><title type='text'>MVVM framework comparison sheet</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;margin-left: 1em; margin-right: 1em; text-align: center;&quot;&gt;&lt;br&gt;
&lt;/div&gt;&lt;br&gt;
&lt;br&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;EN-US&quot;&gt;In  this MVVM framework comparison sheet includes as many aspects as  possible. However, it might be possible that some were missed. If you  have features that are not included in the comparison sheet, or you find  that information is incorrect, please let us know!&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;EN-US&quot;&gt;Below is short list of definitions:&lt;/span&gt;&lt;/div&gt;&lt;table border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoTableMediumShading2Accent1&quot; style=&quot;border-collapse: collapse; border: none; mso-border-bottom-alt: solid windowtext 2.25pt; mso-border-top-alt: solid windowtext 2.25pt; mso-padding-alt: 0cm 5.4pt 0cm 5.4pt; mso-yfti-tbllook: 1184;&quot;&gt;&lt;tbody&gt;
&lt;tr style=&quot;mso-yfti-firstrow: yes; mso-yfti-irow: -1;&quot;&gt;  &lt;td style=&quot;background: #4F81BD; border-bottom: solid windowtext 2.25pt; border-left: none; border-right: none; border-top: solid windowtext 2.25pt; mso-background-themecolor: accent1; padding: 0cm 5.4pt 0cm 5.4pt; width: 111.75pt;&quot; valign=&quot;top&quot; width=&quot;186&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-yfti-cnfc: 517;&quot;&gt;&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: white;&quot;&gt;Definition&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;/td&gt;  &lt;td style=&quot;background: #4F81BD; border-bottom: solid windowtext 2.25pt; border-left: none; border-right: none; border-top: solid windowtext 2.25pt; mso-background-themecolor: accent1; padding: 0cm 5.4pt 0cm 5.4pt; width: 233.85pt;&quot; valign=&quot;top&quot; width=&quot;390&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-yfti-cnfc: 1;&quot;&gt;&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: white;&quot;&gt;Explanation&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;/td&gt; &lt;/tr&gt;
&lt;tr style=&quot;mso-yfti-irow: 0;&quot;&gt;  &lt;td style=&quot;background: #4F81BD; border: none; mso-background-themecolor: accent1; padding: 0cm 5.4pt 0cm 5.4pt; width: 111.75pt;&quot; valign=&quot;top&quot; width=&quot;186&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-yfti-cnfc: 68;&quot;&gt;&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: white;&quot;&gt;VM&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;/td&gt;  &lt;td style=&quot;background: #D8D8D8; border: none; mso-background-themecolor: background1; mso-background-themeshade: 216; padding: 0cm 5.4pt 0cm 5.4pt; width: 233.85pt;&quot; valign=&quot;top&quot; width=&quot;390&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-yfti-cnfc: 64;&quot;&gt;&lt;span lang=&quot;EN-US&quot;&gt;View-Model&lt;/span&gt;&lt;/div&gt;&lt;/td&gt; &lt;/tr&gt;
&lt;tr style=&quot;mso-yfti-irow: 1; mso-yfti-lastrow: yes;&quot;&gt;  &lt;td style=&quot;background: #4F81BD; border-bottom: solid windowtext 2.25pt; border: none; mso-background-themecolor: accent1; padding: 0cm 5.4pt 0cm 5.4pt; width: 111.75pt;&quot; valign=&quot;top&quot; width=&quot;186&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-yfti-cnfc: 4;&quot;&gt;&lt;br&gt;
&lt;/div&gt;&lt;/td&gt;  &lt;td style=&quot;border-bottom: solid windowtext 2.25pt; border: none; padding: 0cm 5.4pt 0cm 5.4pt; width: 233.85pt;&quot; valign=&quot;top&quot; width=&quot;390&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;&lt;br&gt;
&lt;/div&gt;&lt;/td&gt; &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;a href=&quot;http://divyang4481.blogspot.com/2011/07/mvvm-framework-comparison-sheet.html#more&quot;&gt;Read more »&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://divyang4481.blogspot.com/feeds/7766723899558456009/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/2780454567834772883/7766723899558456009' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2780454567834772883/posts/default/7766723899558456009'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2780454567834772883/posts/default/7766723899558456009'/><link rel='alternate' type='text/html' href='http://divyang4481.blogspot.com/2011/07/mvvm-framework-comparison-sheet.html' title='MVVM framework comparison sheet'/><author><name>divyang4481</name><uri>http://www.blogger.com/profile/10981719905554797424</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/AVvXsEge44X0aInEyOHefK1NO5ILbC2aPWToOoAoGzlH3zbDistYBLQ78Wbk4NftzYoiSoUvSODoWwo9hz3ssRBmvDX36ctboHIKWuSfD5a9aoD5TG041-PkU5VItuVW01WKDR-Iy8uaCQA0ScU/s72-c/clip_image002.png" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2780454567834772883.post-4905292810150207838</id><published>2011-07-03T19:38:00.004+05:30</published><updated>2011-07-03T20:23:19.166+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="cross-site scripting attacks"/><title type='text'>How to prevent from Cross-site scripting attacks on your ASP.NET website?</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;div xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;Hi friends,&lt;br&gt;
Security is major concern for our clients when they ask us to develop their website. Hence we have to take care of  attacks like sql injection and cross-site scripting attacks.&lt;br&gt;
today I come across with a very good library to  prevent our website against cross-site scripting attacks.&lt;br&gt;
&lt;img height=&quot;213&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj5KyaycmkcakOugKd4hAW1WBsuQR5uqBMX0ZXC3AP32w5MKw80382sBpsDjgkerF6IVh-gKoUasKzhCCaNBjAomCSG46k3LDO-Ttk4m49Y12EyZxJEpgxj-FeTx5wMwaJtnNF5pjT__Oi_/s320/xss.png&quot; style=&quot;max-width: 800px;&quot; width=&quot;320&quot;&gt;&lt;br&gt;
Cross-site scripting (XSS) attacks occur when an attacker uses a web apps to inject malicious code(mainly scripting), generally in the form of a browser side script(means java script), to a different end user.&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;a href=&quot;http://divyang4481.blogspot.com/2011/07/how-to-prevent-from-cross-site.html#more&quot;&gt;Read more »&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://divyang4481.blogspot.com/feeds/4905292810150207838/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/2780454567834772883/4905292810150207838' title='75 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2780454567834772883/posts/default/4905292810150207838'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2780454567834772883/posts/default/4905292810150207838'/><link rel='alternate' type='text/html' href='http://divyang4481.blogspot.com/2011/07/how-to-prevent-from-cross-site.html' title='How to prevent from Cross-site scripting attacks on your ASP.NET website?'/><author><name>divyang4481</name><uri>http://www.blogger.com/profile/10981719905554797424</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/AVvXsEj5KyaycmkcakOugKd4hAW1WBsuQR5uqBMX0ZXC3AP32w5MKw80382sBpsDjgkerF6IVh-gKoUasKzhCCaNBjAomCSG46k3LDO-Ttk4m49Y12EyZxJEpgxj-FeTx5wMwaJtnNF5pjT__Oi_/s72-c/xss.png" height="72" width="72"/><thr:total>75</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2780454567834772883.post-3173016058018495488</id><published>2011-07-01T01:12:00.003+05:30</published><updated>2011-07-01T01:30:25.063+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="IIS"/><category scheme="http://www.blogger.com/atom/ns#" term="website compression"/><title type='text'>How to compress our websites..!!??</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;div xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;&lt;a href=&quot;http://www.itechnobuzz.com/wp-content/uploads/winzip.gif&quot; imageanchor=&quot;1&quot; style=&quot;clear: right; float: right; margin-bottom: 1em; margin-left: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;200&quot; src=&quot;http://www.itechnobuzz.com/wp-content/uploads/winzip.gif&quot; width=&quot;200&quot;&gt;&lt;/a&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Hi friends,&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;when you have website which has heavy  pages( means all page are loaded with lots of html and css etc...) .It is recommended to compress your website pages while serving. This will decrease your network traffic at your server. To achieve such compression of your website pages while delivering to browser  is done by two way.&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt; 1) By server  setting &lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt; 2) do custom coding  in your web application&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;a href=&quot;http://divyang4481.blogspot.com/2011/07/how-to-compress-our-websites.html#more&quot;&gt;Read more »&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://divyang4481.blogspot.com/feeds/3173016058018495488/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/2780454567834772883/3173016058018495488' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2780454567834772883/posts/default/3173016058018495488'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2780454567834772883/posts/default/3173016058018495488'/><link rel='alternate' type='text/html' href='http://divyang4481.blogspot.com/2011/07/how-to-compress-our-websites.html' title='How to compress our websites..!!??'/><author><name>divyang4481</name><uri>http://www.blogger.com/profile/10981719905554797424</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>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2780454567834772883.post-6083267253403053003</id><published>2011-06-29T01:06:00.000+05:30</published><updated>2011-06-29T01:06:05.352+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="connection string"/><category scheme="http://www.blogger.com/atom/ns#" term="encrypt"/><category scheme="http://www.blogger.com/atom/ns#" term="Web.config"/><title type='text'>When your client will concern about his db password</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;o:OfficeDocumentSettings&gt;   &lt;o:AllowPNG/&gt;  &lt;/o:OfficeDocumentSettings&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:WordDocument&gt;   &lt;w:View&gt;Normal&lt;/w:View&gt;   &lt;w:Zoom&gt;0&lt;/w:Zoom&gt;   &lt;w:TrackMoves/&gt;   &lt;w:TrackFormatting/&gt;   &lt;w:PunctuationKerning/&gt;   &lt;w:ValidateAgainstSchemas/&gt;   &lt;w:SaveIfXMLInvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt;   &lt;w:IgnoreMixedContent&gt;false&lt;/w:IgnoreMixedContent&gt;   &lt;w:AlwaysShowPlaceholderText&gt;false&lt;/w:AlwaysShowPlaceholderText&gt;   &lt;w:DoNotPromoteQF/&gt;   &lt;w:LidThemeOther&gt;EN-GB&lt;/w:LidThemeOther&gt;   &lt;w:LidThemeAsian&gt;X-NONE&lt;/w:LidThemeAsian&gt;   &lt;w:LidThemeComplexScript&gt;X-NONE&lt;/w:LidThemeComplexScript&gt;   &lt;w:Compatibility&gt;    &lt;w:BreakWrappedTables/&gt;    &lt;w:SnapToGridInCell/&gt;    &lt;w:WrapTextWithPunct/&gt;    &lt;w:UseAsianBreakRules/&gt;    &lt;w:DontGrowAutofit/&gt;    &lt;w:SplitPgBreakAndParaMark/&gt;    &lt;w:EnableOpenTypeKerning/&gt;    &lt;w:DontFlipMirrorIndents/&gt;    &lt;w:OverrideTableStyleHps/&gt;   &lt;/w:Compatibility&gt;   &lt;m:mathPr&gt;    &lt;m:mathFont m:val=&quot;Cambria Math&quot;/&gt;    &lt;m:brkBin m:val=&quot;before&quot;/&gt;    &lt;m:brkBinSub m:val=&quot;&amp;#45;-&quot;/&gt;    &lt;m:smallFrac m:val=&quot;off&quot;/&gt;    &lt;m:dispDef/&gt;    &lt;m:lMargin m:val=&quot;0&quot;/&gt;    &lt;m:rMargin m:val=&quot;0&quot;/&gt;    &lt;m:defJc m:val=&quot;centerGroup&quot;/&gt;    &lt;m:wrapIndent m:val=&quot;1440&quot;/&gt;    &lt;m:intLim m:val=&quot;subSup&quot;/&gt;    &lt;m:naryLim m:val=&quot;undOvr&quot;/&gt;   &lt;/m:mathPr&gt;&lt;/w:WordDocument&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:LatentStyles DefLockedState=&quot;false&quot; DefUnhideWhenUsed=&quot;true&quot;
  DefSemiHidden=&quot;true&quot; DefQFormat=&quot;false&quot; DefPriority=&quot;99&quot;
  LatentStyleCount=&quot;267&quot;&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;0&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;Normal&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;9&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;heading 1&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;9&quot; QFormat=&quot;true&quot; Name=&quot;heading 2&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;9&quot; QFormat=&quot;true&quot; Name=&quot;heading 3&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;9&quot; QFormat=&quot;true&quot; Name=&quot;heading 4&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;9&quot; QFormat=&quot;true&quot; Name=&quot;heading 5&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;9&quot; QFormat=&quot;true&quot; Name=&quot;heading 6&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;9&quot; QFormat=&quot;true&quot; Name=&quot;heading 7&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;9&quot; QFormat=&quot;true&quot; Name=&quot;heading 8&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;9&quot; QFormat=&quot;true&quot; Name=&quot;heading 9&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;39&quot; Name=&quot;toc 1&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;39&quot; Name=&quot;toc 2&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;39&quot; Name=&quot;toc 3&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;39&quot; Name=&quot;toc 4&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;39&quot; Name=&quot;toc 5&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;39&quot; Name=&quot;toc 6&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;39&quot; Name=&quot;toc 7&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;39&quot; Name=&quot;toc 8&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;39&quot; Name=&quot;toc 9&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;35&quot; QFormat=&quot;true&quot; Name=&quot;caption&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;10&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;Title&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;1&quot; Name=&quot;Default Paragraph Font&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;11&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;Subtitle&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;22&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;Strong&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;20&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;Emphasis&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;59&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Table Grid&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; UnhideWhenUsed=&quot;false&quot; Name=&quot;Placeholder Text&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;1&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;No Spacing&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;60&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Shading&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;61&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light List&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;62&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Grid&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;63&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 1&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;64&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 2&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;65&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 1&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;66&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 2&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;67&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 1&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;68&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 2&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;69&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 3&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;70&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Dark List&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;71&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Shading&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;72&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful List&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;73&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Grid&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;60&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Shading Accent 1&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;61&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light List Accent 1&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;62&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Grid Accent 1&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;63&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 1 Accent 1&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;64&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 2 Accent 1&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;65&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 1 Accent 1&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; UnhideWhenUsed=&quot;false&quot; Name=&quot;Revision&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;34&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;List Paragraph&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;29&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;Quote&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;30&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;Intense Quote&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;66&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 2 Accent 1&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;67&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 1 Accent 1&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;68&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 2 Accent 1&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;69&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 3 Accent 1&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;70&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Dark List Accent 1&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;71&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Shading Accent 1&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;72&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful List Accent 1&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;73&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Grid Accent 1&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;60&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Shading Accent 2&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;61&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light List Accent 2&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;62&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Grid Accent 2&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;63&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 1 Accent 2&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;64&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 2 Accent 2&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;65&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 1 Accent 2&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;66&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 2 Accent 2&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;67&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 1 Accent 2&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;68&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 2 Accent 2&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;69&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 3 Accent 2&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;70&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Dark List Accent 2&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;71&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Shading Accent 2&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;72&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful List Accent 2&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;73&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Grid Accent 2&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;60&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Shading Accent 3&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;61&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light List Accent 3&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;62&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Grid Accent 3&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;63&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 1 Accent 3&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;64&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 2 Accent 3&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;65&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 1 Accent 3&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;66&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 2 Accent 3&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;67&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 1 Accent 3&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;68&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 2 Accent 3&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;69&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 3 Accent 3&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;70&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Dark List Accent 3&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;71&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Shading Accent 3&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;72&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful List Accent 3&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;73&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Grid Accent 3&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;60&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Shading Accent 4&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;61&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light List Accent 4&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;62&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Grid Accent 4&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;63&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 1 Accent 4&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;64&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 2 Accent 4&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;65&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 1 Accent 4&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;66&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 2 Accent 4&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;67&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 1 Accent 4&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;68&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 2 Accent 4&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;69&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 3 Accent 4&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;70&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Dark List Accent 4&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;71&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Shading Accent 4&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;72&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful List Accent 4&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;73&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Grid Accent 4&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;60&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Shading Accent 5&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;61&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light List Accent 5&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;62&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Grid Accent 5&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;63&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 1 Accent 5&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;64&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 2 Accent 5&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;65&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 1 Accent 5&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;66&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 2 Accent 5&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;67&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 1 Accent 5&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;68&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 2 Accent 5&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;69&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 3 Accent 5&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;70&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Dark List Accent 5&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;71&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Shading Accent 5&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;72&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful List Accent 5&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;73&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Grid Accent 5&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;60&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Shading Accent 6&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;61&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light List Accent 6&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;62&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Grid Accent 6&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;63&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 1 Accent 6&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;64&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 2 Accent 6&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;65&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 1 Accent 6&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;66&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 2 Accent 6&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;67&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 1 Accent 6&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;68&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 2 Accent 6&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;69&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 3 Accent 6&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;70&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Dark List Accent 6&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;71&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Shading Accent 6&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;72&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful List Accent 6&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;73&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Grid Accent 6&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;19&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;Subtle Emphasis&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;21&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;Intense Emphasis&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;31&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;Subtle Reference&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;32&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;Intense Reference&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;33&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;Book Title&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;37&quot; Name=&quot;Bibliography&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;39&quot; QFormat=&quot;true&quot; Name=&quot;TOC Heading&quot;/&gt;  &lt;/w:LatentStyles&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 10]&gt; &lt;style&gt;
 /* Style Definitions */
 table.MsoNormalTable
 {mso-style-name:&quot;Table Normal&quot;;
 mso-tstyle-rowband-size:0;
 mso-tstyle-colband-size:0;
 mso-style-noshow:yes;
 mso-style-priority:99;
 mso-style-parent:&quot;&quot;;
 mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
 mso-para-margin-top:0cm;
 mso-para-margin-right:0cm;
 mso-para-margin-bottom:10.0pt;
 mso-para-margin-left:0cm;
 line-height:115%;
 mso-pagination:widow-orphan;
 font-size:11.0pt;
 font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
 mso-ascii-font-family:Calibri;
 mso-ascii-theme-font:minor-latin;
 mso-hansi-font-family:Calibri;
 mso-hansi-theme-font:minor-latin;
 mso-bidi-font-family:&quot;Times New Roman&quot;;
 mso-bidi-theme-font:minor-bidi;
 mso-fareast-language:EN-US;}
&lt;/style&gt; &lt;![endif]--&gt;  &lt;br&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;Hi friends,&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;When you get a client who is more technical ,then it accentuate on safety of his critical data. Recently I faced such type of client. When my client went through publish asp.net project on server and he found that our db password inside  web.config ‘s connection string , and&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;  expressed&lt;/span&gt; his concern for&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;  &lt;/span&gt;it safety of db password. so  &lt;span style=&quot;mso-spacerun: yes;&quot;&gt; &lt;/span&gt;he suggested me not to  placed in web.config moreover he asked me to&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;  &lt;/span&gt;hardcoded that password in my asp.net code and obfuscate that dll..!!.&lt;/div&gt;&lt;/div&gt;&lt;a href=&quot;http://divyang4481.blogspot.com/2011/06/when-your-client-will-concern-about-his.html#more&quot;&gt;Read more »&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://divyang4481.blogspot.com/feeds/6083267253403053003/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/2780454567834772883/6083267253403053003' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2780454567834772883/posts/default/6083267253403053003'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2780454567834772883/posts/default/6083267253403053003'/><link rel='alternate' type='text/html' href='http://divyang4481.blogspot.com/2011/06/when-your-client-will-concern-about-his.html' title='When your client will concern about his db password'/><author><name>divyang4481</name><uri>http://www.blogger.com/profile/10981719905554797424</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-2780454567834772883.post-5102386963991929419</id><published>2011-06-27T23:23:00.001+05:30</published><updated>2011-06-27T23:32:56.491+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Atom 1.0"/><category scheme="http://www.blogger.com/atom/ns#" term="Atom v/s RSS"/><category scheme="http://www.blogger.com/atom/ns#" term="Feed"/><category scheme="http://www.blogger.com/atom/ns#" term="RSS 2.0"/><title type='text'>Atom v/s RSS</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;Hi friends,&lt;br&gt;
  to follow&amp;#39;s  our favorite blogs or websites, usually we subscribe Atom or RSS feed  provided by those blogs or  websites. so one should  know the difference  and similarity between them&lt;br&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgZsZ4TCQQczVjK98NuIO69Os3ysr4A_hs9zZHij3PylNXE_8M2FKwBKP4duXiIpmbPAsFZGH3hB9enlI8TzmdMfe9gb-gx9zadzvt9rG6JyuHg1Y4OyEteeZ-BXH8nyW0RrkKp2YnCv3o/s640/magnet_rss.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;240&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgZsZ4TCQQczVjK98NuIO69Os3ysr4A_hs9zZHij3PylNXE_8M2FKwBKP4duXiIpmbPAsFZGH3hB9enlI8TzmdMfe9gb-gx9zadzvt9rG6JyuHg1Y4OyEteeZ-BXH8nyW0RrkKp2YnCv3o/s320/magnet_rss.jpg&quot; width=&quot;320&quot;&gt;&lt;/a&gt;&lt;/div&gt;&lt;br&gt;
&lt;/div&gt;&lt;a href=&quot;http://divyang4481.blogspot.com/2011/06/atom-vs-rss.html#more&quot;&gt;Read more »&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://divyang4481.blogspot.com/feeds/5102386963991929419/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/2780454567834772883/5102386963991929419' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2780454567834772883/posts/default/5102386963991929419'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2780454567834772883/posts/default/5102386963991929419'/><link rel='alternate' type='text/html' href='http://divyang4481.blogspot.com/2011/06/atom-vs-rss.html' title='Atom v/s RSS'/><author><name>divyang4481</name><uri>http://www.blogger.com/profile/10981719905554797424</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/AVvXsEgZsZ4TCQQczVjK98NuIO69Os3ysr4A_hs9zZHij3PylNXE_8M2FKwBKP4duXiIpmbPAsFZGH3hB9enlI8TzmdMfe9gb-gx9zadzvt9rG6JyuHg1Y4OyEteeZ-BXH8nyW0RrkKp2YnCv3o/s72-c/magnet_rss.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2780454567834772883.post-5336285174793586167</id><published>2011-06-27T19:46:00.000+05:30</published><updated>2011-06-27T19:46:36.196+05:30</updated><title type='text'>.: Forget &#39;.com&#39;, are you ready for &#39;.google&#39;, or &#39;.b...</title><content type='html'>&lt;a href=&quot;http://hi-techito.blogspot.com/2011/06/forget-com-are-you-ready-for-google-or.html?spref=bl&quot;&gt;.: Forget &amp;#39;.com&amp;#39;, are you ready for &amp;#39;.google&amp;#39;, or &amp;#39;.b...&lt;/a&gt;: &quot;Think of it as a cyberspace land rush, as companies and others try to stake claims to websites ending with names like &#39;.bank&#39;  Come next yea...&quot;&lt;br /&gt;&lt;br /&gt;&lt;!-- Place this tag in your head or just before your close body tag --&gt;&lt;script type=&quot;text/javascript&quot; src=&quot;http://apis.google.com/js/plusone.js&quot;&gt;&lt;/script&gt;&lt;!-- Place this tag where you want the +1 button to render --&gt;&lt;g:plusone&gt;&lt;/g:plusone&gt;compile by &lt;br /&gt;Divyang Panchasara &lt;br /&gt;Sr. Programmer Analyst &lt;br /&gt;Hitech OutSourcing&lt;br /&gt;&lt;script type=&quot;text/javascript&quot;&gt;&lt;!--google_ad_client = &quot;ca-pub-9258662570457396&quot;;/* extra ad */google_ad_slot = &quot;0417071606&quot;;google_ad_width = 728;google_ad_height = 90;//--&gt;&lt;/script&gt;&lt;script type=&quot;text/javascript&quot;src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot;&gt;&lt;/script&gt;</content><link rel='replies' type='application/atom+xml' href='http://divyang4481.blogspot.com/feeds/5336285174793586167/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/2780454567834772883/5336285174793586167' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2780454567834772883/posts/default/5336285174793586167'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2780454567834772883/posts/default/5336285174793586167'/><link rel='alternate' type='text/html' href='http://divyang4481.blogspot.com/2011/06/forget-com-are-you-ready-for-google-or.html' title='.: Forget &#39;.com&#39;, are you ready for &#39;.google&#39;, or &#39;.b...'/><author><name>divyang4481</name><uri>http://www.blogger.com/profile/10981719905554797424</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-2780454567834772883.post-2890322170817836072</id><published>2011-06-26T18:58:00.004+05:30</published><updated>2011-07-03T19:47:51.366+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="DATABASE"/><category scheme="http://www.blogger.com/atom/ns#" term="GUID"/><title type='text'>GUIDs (Globally Unique Identifiers) in .NET</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;script src=&quot;http://apis.google.com/js/plusone.js&quot; type=&quot;text/javascript&quot;&gt;
&lt;/script&gt;   &lt;g:plusone&gt;&lt;/g:plusone&gt; &lt;br&gt;
&lt;div id=&quot;main-wrapper&quot;&gt;&lt;div class=&quot;main section&quot; id=&quot;main&quot;&gt;&lt;div id=&quot;uds-searchControl&quot;&gt;&lt;div id=&quot;uds-searchResults&quot;&gt;&lt;div class=&quot;gsc-control gsc-narrow&quot; dir=&quot;ltr&quot;&gt;&lt;div class=&quot;gsc-resultsbox-invisible&quot;&gt;&lt;div class=&quot;gsc-resultsRoot gsc-tabData gsc-tabdActive&quot;&gt;&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;gsc-resultsHeader&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;gsc-twiddleRegionCell&quot;&gt;&lt;/td&gt;&lt;td class=&quot;gsc-twiddleRegionCell&quot;&gt;&lt;br&gt;
&lt;/td&gt;&lt;td class=&quot;gsc-configLabelCell&quot;&gt;&lt;br&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;widget Blog&quot; id=&quot;Blog1&quot;&gt;&lt;div class=&quot;blog-posts hfeed&quot;&gt;&lt;div class=&quot;date-outer&quot;&gt;&lt;div class=&quot;date-posts&quot;&gt;&lt;div class=&quot;post-outer&quot;&gt;&lt;div class=&quot;post hentry&quot;&gt;Hi Friends,&lt;br&gt;
&lt;br&gt;
GUID is frequently used in .NET and  SQL database system to set uniqueness of record or object.  And my friend  &lt;a href=&quot;http://impulsecode.blogspot.com/2011/06/guids-globally-unique-identifiers-in.html&quot;&gt;Priyank&lt;/a&gt;  has  describe GUID very nicely in his latest post on his blog so I have  repost  it here. you may like it. and you can refere his blog by  clicking his  name to read  full blog.&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;a href=&quot;http://divyang4481.blogspot.com/2011/06/guids-globally-unique-identifiers-in.html#more&quot;&gt;Read more »&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://divyang4481.blogspot.com/feeds/2890322170817836072/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/2780454567834772883/2890322170817836072' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2780454567834772883/posts/default/2890322170817836072'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2780454567834772883/posts/default/2890322170817836072'/><link rel='alternate' type='text/html' href='http://divyang4481.blogspot.com/2011/06/guids-globally-unique-identifiers-in.html' title='GUIDs (Globally Unique Identifiers) in .NET'/><author><name>divyang4481</name><uri>http://www.blogger.com/profile/10981719905554797424</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/AVvXsEgtwawxpIVCq3drSQwZh17b3dUzpAvPuRgAX_N4VMSIgDfSV9JnV_tzHN57dxUC33WwER3ruS1ORfo1Itj3mooDoooozNgPd7Q8pdxSghWGXaNkgHvg3eylTKz5Dog7OsUq9Dkw3jLtldCZ/s72-c/image_2.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2780454567834772883.post-8756386732091613445</id><published>2011-06-25T18:41:00.000+05:30</published><updated>2011-06-25T18:41:51.253+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="HTML5"/><category scheme="http://www.blogger.com/atom/ns#" term="HTML5 validation"/><title type='text'>Validation in HTML5  without JavaScript</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;Hi Friends,&lt;br /&gt;
any website or web page which &amp;nbsp;allowed to fill data, &amp;nbsp;should have &amp;nbsp;client side as well as server side validation &amp;nbsp;for those entered data. hence in any website &amp;nbsp;client side &amp;nbsp;validation is done by&amp;nbsp;JavaScript&amp;nbsp;only. but in &amp;nbsp;HTML 5 &amp;nbsp;now we can do validation without&amp;nbsp;JavaScript.&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://weblogs.asp.net/blogs/srkirkland/image_thumb_62AC6535.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://weblogs.asp.net/blogs/srkirkland/image_thumb_62AC6535.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
you can have required &amp;nbsp;filed &amp;nbsp;by providing &amp;nbsp;required &amp;nbsp;attribute to those input type as shown below.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;simpara&quot; style=&quot;text-align: left;&quot;&gt;&lt;code class=&quot;literal&quot;&gt;&lt;br /&gt;
&lt;/code&gt;&lt;/div&gt;&lt;div class=&quot;simpara&quot; style=&quot;text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: monospace;&quot;&gt;&amp;nbsp;&amp;lt;input type=&quot;email&quot; required/&amp;gt;&amp;nbsp;&lt;/span&gt;where &lt;code class=&quot;literal&quot;&gt;required&lt;/code&gt; will indicate that a value must be supplied&lt;/div&gt;&lt;div class=&quot;informalfigure&quot;&gt;&lt;div class=&quot;mediaobject&quot;&gt;&lt;img alt=&quot;images/forms_validation_required.png&quot; src=&quot;http://marakana.com/bookshelf/html5_tutorial/images/forms_validation_required.png&quot; /&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
S&lt;br /&gt;
&lt;script src=&quot;http://apis.google.com/js/plusone.js&quot; type=&quot;text/javascript&quot;&gt;
&lt;/script&gt;   &lt;g:plusone&gt;&lt;/g:plusone&gt; compile by &lt;br /&gt;
Divyang Panchasara &lt;br /&gt;
Sr. Programmer Analyst &lt;br /&gt;
Hitech OutSourcing &lt;br /&gt;
&lt;script type=&quot;text/javascript&quot;&gt;
&lt;!--
google_ad_client = &quot;ca-pub-9258662570457396&quot;;
/* extra ad */
google_ad_slot = &quot;0417071606&quot;;
google_ad_width = 728;
google_ad_height = 90;
//--&gt;
&lt;/script&gt; &lt;script src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot; type=&quot;text/javascript&quot;&gt;
&lt;/script&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://divyang4481.blogspot.com/feeds/8756386732091613445/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/2780454567834772883/8756386732091613445' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2780454567834772883/posts/default/8756386732091613445'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2780454567834772883/posts/default/8756386732091613445'/><link rel='alternate' type='text/html' href='http://divyang4481.blogspot.com/2011/06/validation-in-html5-without-javascript.html' title='Validation in HTML5  without JavaScript'/><author><name>divyang4481</name><uri>http://www.blogger.com/profile/10981719905554797424</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-2780454567834772883.post-3356974802426942737</id><published>2011-06-23T22:47:00.002+05:30</published><updated>2011-06-24T09:27:27.057+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Dotnet"/><category scheme="http://www.blogger.com/atom/ns#" term="Exponential Backoff"/><category scheme="http://www.blogger.com/atom/ns#" term="Window Auzre"/><title type='text'>EB algorithm for Azure Database connection</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;a href=&quot;http://www.sharepointedutech.com/wp-content/uploads/2010/12/azure3.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: right; float: right; margin-bottom: 1em; margin-left: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;200&quot; src=&quot;http://www.sharepointedutech.com/wp-content/uploads/2010/12/azure3.png&quot; width=&quot;200&quot;&gt;&lt;/a&gt;Hi Friends,&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;As cloud computing  buzzing now days, so I spend my spare time to do some hand-on code for Window Azure using trial pass and reading related blogs for that &lt;/div&gt;  Then during  my hand-on , once I face the problem of frequent connection failure due to  my Azure db was unavailable for few seconds .&lt;br&gt;
&lt;/div&gt;&lt;a href=&quot;http://divyang4481.blogspot.com/2011/06/eb-algorithm-for-azure-database.html#more&quot;&gt;Read more »&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://divyang4481.blogspot.com/feeds/3356974802426942737/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/2780454567834772883/3356974802426942737' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2780454567834772883/posts/default/3356974802426942737'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2780454567834772883/posts/default/3356974802426942737'/><link rel='alternate' type='text/html' href='http://divyang4481.blogspot.com/2011/06/eb-algorithm-for-azure-database.html' title='EB algorithm for Azure Database connection'/><author><name>divyang4481</name><uri>http://www.blogger.com/profile/10981719905554797424</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></feed>