<?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-3696000579209609335</id><updated>2024-08-30T08:25:17.380-07:00</updated><category term="Agile"/><category term="ORM"/><category term="Scrum"/><category term="base class"/><category term="child class"/><category term="constructor"/><category term="constructor with parameter"/><category term="dapper"/><category term="dapper.net"/><category term="data access layer"/><category term="inheritance"/><category term="inherited class"/><category term="light weight ORM"/><category term="methodology"/><title type='text'>Pal&#39;s Space</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://pallavi-dhepe.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3696000579209609335/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://pallavi-dhepe.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/08888515920132718629</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>11</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-3696000579209609335.post-5079812269406328895</id><published>2018-09-04T07:42:00.001-07:00</published><updated>2018-09-04T07:42:23.808-07:00</updated><title type='text'>Playing with Virtual, new and override in c# - Polymorphism</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Scenario 1&amp;gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
//**************************Given**************************************&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
public class MyBaseClass&lt;br /&gt;
&amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; public void methodA()&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Console.WriteLine(&quot;MyBaseClass: methodA&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; public virtual void methodB()&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Console.WriteLine(&quot;MyBaseClass: methodB&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; public class MyOverloadClass : MyBaseClass&lt;br /&gt;
&amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; public new void methodA()&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Console.WriteLine(&quot;MyOverloadClass: methodA&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; public override void methodB()&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Console.WriteLine(&quot;MyOverloadClass: methodB&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; public class MyOverloadClass2 : MyOverloadClass&lt;br /&gt;
&amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; public void methodA()&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Console.WriteLine(&quot;MyOverloadClass2: methodA&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; public new void methodB()&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Console.WriteLine(&quot;MyOverloadClass2: methodB&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&lt;br /&gt;
//************************ Question ***************************&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;MyBaseClass obj = new MyOverloadClass2();&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; obj.methodA();&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; obj.methodB();&lt;br /&gt;
&lt;br /&gt;
//*********************** output *****************************&lt;br /&gt;
MyBaseClass: methodA&lt;br /&gt;
MyOverloadClass: methodB&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://pallavi-dhepe.blogspot.com/feeds/5079812269406328895/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pallavi-dhepe.blogspot.com/2018/09/playing-with-virtual-new-and-override.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3696000579209609335/posts/default/5079812269406328895'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3696000579209609335/posts/default/5079812269406328895'/><link rel='alternate' type='text/html' href='http://pallavi-dhepe.blogspot.com/2018/09/playing-with-virtual-new-and-override.html' title='Playing with Virtual, new and override in c# - Polymorphism'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/08888515920132718629</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-3696000579209609335.post-4653854629571668097</id><published>2016-06-01T01:45:00.002-07:00</published><updated>2016-07-29T00:25:40.429-07:00</updated><title type='text'>Some useful URLs</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;strong&gt;ASP.NET Web API 2 using Entity&amp;nbsp;Framework&amp;nbsp;6&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;&lt;a href=&quot;http://www.asp.net/web-api/overview/data/using-web-api-with-entity-framework/part-1&quot;&gt;http://www.asp.net/web-api/overview/data/using-web-api-with-entity-framework/part-1&amp;nbsp;&lt;/a&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
-----------------------------------------------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Web API tutorials&lt;/b&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.asp.net/web-api/overview/web-api-routing-and-actions&quot;&gt;http://www.asp.net/web-api/overview/web-api-routing-and-actions&lt;/a&gt;&lt;br /&gt;
-----------------------------------------------------------------------------------------------------------------&lt;br /&gt;
&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;
&lt;strong&gt;WIX&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
Wix Tutorial :- &lt;a href=&quot;http://wix.tramontana.co.hu/&quot;&gt;http://wix.tramontana.co.hu/&lt;/a&gt;&lt;br /&gt;
Example :- &lt;a href=&quot;http://www.packtpub.com/article/windows-installer-xml-wix-adding-user-interface&quot;&gt;http://www.packtpub.com/article/windows-installer-xml-wix-adding-user-interface&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
--------------------------------------------------------------------------------------------------------------------&lt;br /&gt;
&lt;strong&gt;SOAP&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
SOAP UI tips and tricks : &lt;a href=&quot;http://www.soapui.org/Scripting-Properties/tips-a-tricks.html&quot;&gt;http://www.soapui.org/Scripting-Properties/tips-a-tricks.html&lt;/a&gt;&lt;br /&gt;
About groovy script: &amp;nbsp;&lt;a href=&quot;http://www.soapui.org/userguide/functional/groovystep.html&quot;&gt;http://www.soapui.org/userguide/functional/groovystep.html&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
--------------------------------------------------------------------------------------------------------------------&lt;br /&gt;
&lt;strong&gt;JSON.Net&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://james.newtonking.com/projects/json-net.aspx&quot;&gt;http://james.newtonking.com/projects/json-net.aspx&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
--------------------------------------------------------------------------------------------------------------------&lt;br /&gt;
&lt;strong&gt;RESETful services with WCF&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://msdn.microsoft.com/en-us/magazine/dd315413.aspx&quot;&gt;http://msdn.microsoft.com/en-us/magazine/dd315413.aspx&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
--------------------------------------------------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;WCF&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
WCF Exam - 70-513&lt;br /&gt;
&lt;a href=&quot;http://www.microsoft.com/learning/en/us/exam.aspx?ID=70-513&amp;amp;locale=en-us#tab2&quot;&gt;http://www.microsoft.com/learning/en/us/exam.aspx?ID=70-513&amp;amp;locale=en-us#tab2&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Simple example to start with WCF&lt;br /&gt;
&lt;a href=&quot;http://weblogs.asp.net/ralfw/archive/2007/04/14/a-truely-simple-example-to-get-started-with-wcf.aspx&quot;&gt;http://weblogs.asp.net/ralfw/archive/2007/04/14/a-truely-simple-example-to-get-started-with-wcf.aspx&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Get started for free&lt;br /&gt;
&lt;a href=&quot;http://msdn.microsoft.com/en-us/vstudio/aa496123&quot;&gt;http://msdn.microsoft.com/en-us/vstudio/aa496123&lt;/a&gt;&lt;br /&gt;
---------------------------------------------------------------------------------------&lt;br /&gt;
&lt;strong&gt;Introduction to Moq&lt;/strong&gt;&lt;br /&gt;
&lt;a href=&quot;http://code.google.com/p/moq/wiki/QuickStart&quot;&gt;http://code.google.com/p/moq/wiki/QuickStart&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
------------------------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
good link for GDI, GDI+, SharpDX&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;a href=&quot;https://msdn.microsoft.com/en-us/library/windows/desktop/ff485857(v=vs.85).aspx&quot;&gt;https://msdn.microsoft.com/en-us/library/windows/desktop/ff485857(v=vs.85).aspx&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
-----------------------------------------------------------------------------------------&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
leadtool - convert wicbitmap to GDI+ bitmap&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;tahoma&amp;quot; , sans-serif; font-size: 10pt;&quot;&gt;&lt;a href=&quot;https://www.leadtools.com/help/leadtools/v15/dh/wpf/to/tutorial_load.htm&quot;&gt;https://www.leadtools.com/help/leadtools/v15/dh/wpf/to/tutorial_load.htm&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
--------------------------------------------------------------------------------------------&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
good example for endorsement&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;tahoma&amp;quot; , sans-serif; font-size: 10pt;&quot;&gt;&lt;a href=&quot;https://searchcode.com/codesearch/view/7480581/&quot;&gt;https://searchcode.com/codesearch/view/7480581/&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
-----------------------------------------------------------------------------------------------&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
A good article for pub sub design pattern&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;color: #1f497d;&quot;&gt;Apart from link provided by
Amit,&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;color: #1f497d;&quot;&gt;Below link is also good (same
implementation)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;color: #1f497d;&quot;&gt;&lt;a href=&quot;http://codingsmackdown.tv/blog/2013/04/29/hailing-all-frequencies-communicating-in-angularjs-with-the-pubsub-design-pattern/&quot;&gt;http://codingsmackdown.tv/blog/2013/04/29/hailing-all-frequencies-communicating-in-angularjs-with-the-pubsub-design-pattern/&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;color: #1f497d;&quot;&gt;fiddle present which I am
referring: &lt;a href=&quot;http://jsfiddle.net/eburley/N2yUF/&quot;&gt;http://jsfiddle.net/eburley/N2yUF/&lt;/a&gt;
&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
-------------------------------------------------------------------------------------------------------------&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
http://www.bennadel.com/blog/2807-using-rootscope-emit-as-a-performance-optimization-in-angularjs.htm&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
---------------------------------------------------------------------------------------------&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;Paging with sql server&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;a href=&quot;http://social.technet.microsoft.com/wiki/contents/articles/23811.paging-a-query-with-sql-server.aspx&quot;&gt;http://social.technet.microsoft.com/wiki/contents/articles/23811.paging-a-query-with-sql-server.aspx&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
-----------------------------------------------------------------------------------------------&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;dapper.net&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 2pt 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; font-size: 9.0pt;&quot;&gt;&lt;a href=&quot;http://www.c-sharpcorner.com/UploadFile/e4e3f7/dapper-king-of-micro-orm-C-Sharp-net/&quot;&gt;http://www.c-sharpcorner.com/UploadFile/e4e3f7/dapper-king-of-micro-orm-C-Sharp-net/&lt;/a&gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 2pt 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 2pt 0in;&quot;&gt;
------------------------------------------------------------------------------------------------------&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;wic get image format&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;tahoma&amp;quot; , sans-serif; font-size: 10pt;&quot;&gt;http://forums.getpaint.net/index.php?/topic/25086-filetype-plugins-using-wic-codec/&lt;a href=&quot;http://forums.getpaint.net/index.php?/topic/25086-filetype-plugins-using-wic-codec/&quot; target=&quot;_blank&quot;&gt;http://forums.getpaint.net/index.php?/topic/25086-filetype-plugins-using-wic-codec/&lt;/a&gt;
&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
------------------------------------------------------------------------------------------------&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;memory leak&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 15.1pt; margin-bottom: 12.0pt;&quot;&gt;
&lt;span style=&quot;color: #333333; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; font-size: 10.5pt;&quot;&gt;If you think you have a memory leak, then you should use a
profiler to track it down. Three of the best tools are:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;/div&gt;
&lt;ul style=&quot;margin-top: 0in;&quot; type=&quot;disc&quot;&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;background: white; color: #333333; line-height: 13.15pt; mso-list: l0 level1 lfo1; tab-stops: list .5in;&quot;&gt;&lt;span style=&quot;font-family: inherit; font-size: 10.5pt;&quot;&gt;JetBrains&#39;
     dotTrace - &lt;a href=&quot;http://www.jetbrains.com/profiler/index.html&quot;&gt;http://www.jetbrains.com/profiler/index.html&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;background: white; color: #333333; line-height: 13.15pt; mso-list: l0 level1 lfo1; tab-stops: list .5in;&quot;&gt;&lt;span style=&quot;font-family: inherit; font-size: 10.5pt;&quot;&gt;Red-Gate
     ANTS - &lt;a href=&quot;http://www.red-gate.com/products/ants_profiler/index.htm&quot;&gt;http://www.red-gate.com/products/ants_profiler/index.htm&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;background: white; color: #333333; line-height: 13.15pt; mso-list: l0 level1 lfo1; tab-stops: list .5in;&quot;&gt;&lt;span style=&quot;font-family: inherit; font-size: 10.5pt;&quot;&gt;Automated
     QA&#39;s AQTime - &lt;a href=&quot;http://www.automatedqa.com/products/aqtime/index.asp&quot;&gt;http://www.automatedqa.com/products/aqtime/index.asp&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
&lt;span style=&quot;color: #333333;&quot;&gt;&lt;span style=&quot;line-height: 17.5333px;&quot;&gt;--------------------------------------------------------------------------------------------------------&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;List of accented chaaracters&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoNormalTable&quot; style=&quot;border-collapse: collapse; mso-padding-alt: 0in 0in 0in 0in; mso-yfti-tbllook: 1184;&quot;&gt;
 &lt;tbody&gt;
&lt;tr&gt;
  &lt;td style=&quot;padding: 0in 2.25pt 0in 2.25pt; width: 257.35pt;&quot; valign=&quot;bottom&quot; width=&quot;343&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;segoe ui&amp;quot; , sans-serif;&quot;&gt;ÁáÀàÂâÆæÇçÈèÉéÊêËëÍíÎîÏïÓóÔôŒœÚúÙùÛûÜü&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
  &lt;td style=&quot;padding: 0in 2.25pt 0in 2.25pt; width: 257.35pt;&quot; valign=&quot;bottom&quot; width=&quot;343&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;segoe ui&amp;quot; , sans-serif;&quot;&gt;abcÁáÀàÂâÆæÇçÈèÉéÊêËëÍíÎîÏïÓóÔôŒœÚúÙùÛûÜü&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
  &lt;td style=&quot;padding: 0in 2.25pt 0in 2.25pt; width: 257.35pt;&quot; valign=&quot;bottom&quot; width=&quot;343&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;segoe ui&amp;quot; , sans-serif;&quot;&gt;ÁáÀàÂâÆæÇçÈèÉéÊêËëÍíÎîÏïÓóÔôŒœÚúÙùÛûÜüabc&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
  &lt;td style=&quot;padding: 0in 2.25pt 0in 2.25pt; width: 257.35pt;&quot; valign=&quot;bottom&quot; width=&quot;343&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;segoe ui&amp;quot; , sans-serif;&quot;&gt;aÁáÀàÂâÆæÇçÈèÉéÊêËëÍíÎîÏïÓóÔôŒœÚúÙùÛûÜüb&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
  &lt;td style=&quot;padding: 0in 2.25pt 0in 2.25pt; width: 257.35pt;&quot; valign=&quot;bottom&quot; width=&quot;343&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;segoe ui&amp;quot; , sans-serif;&quot;&gt;!@#$ÁáÀàÂâÆæÇçÈèÉéÊêËëÍíÎîÏïÓóÔôŒœÚúÙùÛû&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
  &lt;td style=&quot;padding: 0in 2.25pt 0in 2.25pt; width: 257.35pt;&quot; valign=&quot;bottom&quot; width=&quot;343&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;u&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;a href=&quot;mailto:%C3%81%C3%A1%C3%80%C3%A0%C3%82%C3%A2%C3%86%C3%A6%C3%87%C3%A7%C3%88%C3%A8%C3%89%C3%A9%C3%8A%C3%AA%C3%8B%C3%AB%C3%8D%C3%AD%C3%8E%C3%AE%C3%8F%C3%AF%C3%93%C3%B3%C3%94%C3%B4%C5%92%C5%93%C3%9A%C3%BA%C3%99%C3%B9%C3%9B%C3%BB%C3%9C%C3%BC!@&quot;&gt;ÁáÀàÂâÆæÇçÈèÉéÊêËëÍíÎîÏïÓóÔôŒœÚúÙùÛûÜü!@&lt;/a&gt;&lt;/span&gt;&lt;/u&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
  &lt;td style=&quot;padding: 0in 2.25pt 0in 2.25pt; width: 257.35pt;&quot; valign=&quot;bottom&quot; width=&quot;343&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;segoe ui&amp;quot; , sans-serif;&quot;&gt;ÁáÀàÂâÆæÇç&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;ËëÍíÎîÏïÓóÔôŒœÚúÙùÛûÜ&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
-------------------------------------------------------------------------------------------&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
angularjs&lt;/div&gt;
&lt;div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;a href=&quot;http://stackoverflow.com/questions/16322251/angularjs-jqlite-append-and-jquery-append-act-differently-with-td&quot;&gt;http://stackoverflow.com/questions/16322251/angularjs-jqlite-append-and-jquery-append-act-differently-with-td&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;a href=&quot;https://docs.angularjs.org/api/ng/function/angular.element&quot;&gt;https://docs.angularjs.org/api/ng/function/angular.element&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;a href=&quot;https://www.google.com/webhp?sourceid=chrome-instant&amp;amp;ion=1&amp;amp;espv=2&amp;amp;ie=UTF-8#q=jqlite%20append&amp;amp;safe=active&quot;&gt;https://www.google.com/webhp?sourceid=chrome-instant&amp;amp;ion=1&amp;amp;espv=2&amp;amp;ie=UTF-8#q=jqlite%20append&amp;amp;safe=active&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
-------------------------------------------------------------------------------------------------&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;tahoma&amp;quot; , sans-serif; font-size: 10pt;&quot;&gt;&lt;a href=&quot;http://stackoverflow.com/questions/1397512/find-image-format-using-bitmap-object-in-c-sharp&quot;&gt;http://stackoverflow.com/questions/1397512/find-image-format-using-bitmap-object-in-c-sharp&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: &amp;quot;tahoma&amp;quot; , sans-serif; font-size: 10pt;&quot;&gt;Image.RawFormat
is the better way, but just take a look on below&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;pre style=&quot;background: rgb(238, 238, 238); max-height: 600px; overflow: auto; word-wrap: normal;&quot;&gt;&lt;span class=&quot;kwd&quot;&gt;&lt;span style=&quot;border: 1pt none; color: darkblue; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;public&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;&lt;span style=&quot;border: 1pt none; color: darkblue; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;enum&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;&lt;span style=&quot;border: 1pt none; color: #2b91af; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;ImageFormat&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;background: #EEEEEE;&quot;&gt;&lt;span class=&quot;pun&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;{&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;background: #EEEEEE;&quot;&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;&lt;span style=&quot;border: 1pt none; color: #2b91af; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;Bmp&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;background: #EEEEEE;&quot;&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;&lt;span style=&quot;border: 1pt none; color: #2b91af; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;Jpeg&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;background: #EEEEEE;&quot;&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;&lt;span style=&quot;border: 1pt none; color: #2b91af; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;Gif&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;background: #EEEEEE;&quot;&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;&lt;span style=&quot;border: 1pt none; color: #2b91af; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;Tiff&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;background: #EEEEEE;&quot;&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;&lt;span style=&quot;border: 1pt none; color: #2b91af; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;Png&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;background: #EEEEEE;&quot;&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;&lt;span style=&quot;border: 1pt none; color: #2b91af; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;Unknown&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;background: #EEEEEE;&quot;&gt;&lt;span class=&quot;pun&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;}&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;background: #EEEEEE;&quot;&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;background: #EEEEEE;&quot;&gt;&lt;span class=&quot;kwd&quot;&gt;&lt;span style=&quot;border: 1pt none; color: darkblue; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;public&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;&lt;span style=&quot;border: 1pt none; color: darkblue; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;static&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;&lt;span style=&quot;border: 1pt none; color: #2b91af; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;ImageFormat&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;&lt;span style=&quot;border: 1pt none; color: #2b91af; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;GetImageFormat&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;&lt;span style=&quot;border: 1pt none; color: darkblue; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;byte&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;[]&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt; bytes&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;background: #EEEEEE;&quot;&gt;&lt;span class=&quot;pun&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;{&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;background: #EEEEEE;&quot;&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;com&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;// see &lt;a href=&quot;http://www.mikekunz.com/image_file_header.html&quot;&gt;http://www.mikekunz.com/image_file_header.html&lt;/a&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;background: #EEEEEE;&quot;&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;&lt;span style=&quot;border: 1pt none; color: darkblue; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;var&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt; bmp&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;=&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;&lt;span style=&quot;border: 1pt none; color: #2b91af; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;Encoding&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;.&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;ASCII&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;.&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;&lt;span style=&quot;border: 1pt none; color: #2b91af; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;GetBytes&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&lt;span style=&quot;border: 1pt none; color: maroon; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;&quot;BM&quot;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;);&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;com&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;// BMP&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;background: #EEEEEE;&quot;&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;&lt;span style=&quot;border: 1pt none; color: darkblue; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;var&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt; gif&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;=&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;&lt;span style=&quot;border: 1pt none; color: #2b91af; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;Encoding&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;.&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;ASCII&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;.&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;&lt;span style=&quot;border: 1pt none; color: #2b91af; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;GetBytes&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&lt;span style=&quot;border: 1pt none; color: maroon; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;&quot;GIF&quot;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;);&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;com&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;// GIF&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;background: #EEEEEE;&quot;&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;&lt;span style=&quot;border: 1pt none; color: darkblue; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;var&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt; png&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;=&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;&lt;span style=&quot;border: 1pt none; color: darkblue; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;new&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;&lt;span style=&quot;border: 1pt none; color: darkblue; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;byte&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;[]&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;{&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;lit&quot;&gt;&lt;span style=&quot;border: 1pt none; color: maroon; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;137&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;lit&quot;&gt;&lt;span style=&quot;border: 1pt none; color: maroon; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;80&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;lit&quot;&gt;&lt;span style=&quot;border: 1pt none; color: maroon; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;78&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;lit&quot;&gt;&lt;span style=&quot;border: 1pt none; color: maroon; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;71&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;};&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;com&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;// PNG&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;background: #EEEEEE;&quot;&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;&lt;span style=&quot;border: 1pt none; color: darkblue; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;var&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt; tiff&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;=&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;&lt;span style=&quot;border: 1pt none; color: darkblue; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;new&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;&lt;span style=&quot;border: 1pt none; color: darkblue; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;byte&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;[]&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;{&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;lit&quot;&gt;&lt;span style=&quot;border: 1pt none; color: maroon; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;73&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;lit&quot;&gt;&lt;span style=&quot;border: 1pt none; color: maroon; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;73&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;lit&quot;&gt;&lt;span style=&quot;border: 1pt none; color: maroon; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;42&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;};&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;com&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;// TIFF&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;background: #EEEEEE;&quot;&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;&lt;span style=&quot;border: 1pt none; color: darkblue; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;var&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt; tiff2&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;=&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;&lt;span style=&quot;border: 1pt none; color: darkblue; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;new&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;&lt;span style=&quot;border: 1pt none; color: darkblue; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;byte&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;[]&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;{&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;lit&quot;&gt;&lt;span style=&quot;border: 1pt none; color: maroon; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;77&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;lit&quot;&gt;&lt;span style=&quot;border: 1pt none; color: maroon; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;77&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;lit&quot;&gt;&lt;span style=&quot;border: 1pt none; color: maroon; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;42&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;};&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;com&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;// TIFF&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;background: #EEEEEE;&quot;&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;&lt;span style=&quot;border: 1pt none; color: darkblue; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;var&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt; jpeg&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;=&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;&lt;span style=&quot;border: 1pt none; color: darkblue; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;new&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;&lt;span style=&quot;border: 1pt none; color: darkblue; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;byte&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;[]&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;{&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;lit&quot;&gt;&lt;span style=&quot;border: 1pt none; color: maroon; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;255&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;lit&quot;&gt;&lt;span style=&quot;border: 1pt none; color: maroon; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;216&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;lit&quot;&gt;&lt;span style=&quot;border: 1pt none; color: maroon; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;255&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;lit&quot;&gt;&lt;span style=&quot;border: 1pt none; color: maroon; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;224&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;};&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;com&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;// jpeg&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;background: #EEEEEE;&quot;&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;&lt;span style=&quot;border: 1pt none; color: darkblue; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;var&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt; jpeg2&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;=&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;&lt;span style=&quot;border: 1pt none; color: darkblue; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;new&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;&lt;span style=&quot;border: 1pt none; color: darkblue; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;byte&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;[]&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;{&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;lit&quot;&gt;&lt;span style=&quot;border: 1pt none; color: maroon; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;255&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;lit&quot;&gt;&lt;span style=&quot;border: 1pt none; color: maroon; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;216&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;lit&quot;&gt;&lt;span style=&quot;border: 1pt none; color: maroon; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;255&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;lit&quot;&gt;&lt;span style=&quot;border: 1pt none; color: maroon; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;225&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;};&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;com&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;// jpeg canon&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;background: #EEEEEE;&quot;&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;background: #EEEEEE;&quot;&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;&lt;span style=&quot;border: 1pt none; color: darkblue; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;if&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;bmp&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;.&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;&lt;span style=&quot;border: 1pt none; color: #2b91af; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;SequenceEqual&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;bytes&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;.&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;&lt;span style=&quot;border: 1pt none; color: #2b91af; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;Take&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;bmp&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;.&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;&lt;span style=&quot;border: 1pt none; color: #2b91af; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;Length&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;)))&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;background: #EEEEEE;&quot;&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;&lt;span style=&quot;border: 1pt none; color: darkblue; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;return&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;&lt;span style=&quot;border: 1pt none; color: #2b91af; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;ImageFormat&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;.&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;&lt;span style=&quot;border: 1pt none; color: #2b91af; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;Bmp&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;background: #EEEEEE;&quot;&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;background: #EEEEEE;&quot;&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;&lt;span style=&quot;border: 1pt none; color: darkblue; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;if&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;gif&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;.&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;&lt;span style=&quot;border: 1pt none; color: #2b91af; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;SequenceEqual&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;bytes&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;.&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;&lt;span style=&quot;border: 1pt none; color: #2b91af; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;Take&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;gif&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;.&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;&lt;span style=&quot;border: 1pt none; color: #2b91af; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;Length&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;)))&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;background: #EEEEEE;&quot;&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;&lt;span style=&quot;border: 1pt none; color: darkblue; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;return&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;&lt;span style=&quot;border: 1pt none; color: #2b91af; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;ImageFormat&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;.&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;&lt;span style=&quot;border: 1pt none; color: #2b91af; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;Gif&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;background: #EEEEEE;&quot;&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;background: #EEEEEE;&quot;&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;&lt;span style=&quot;border: 1pt none; color: darkblue; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;if&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;png&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;.&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;&lt;span style=&quot;border: 1pt none; color: #2b91af; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;SequenceEqual&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;bytes&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;.&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;&lt;span style=&quot;border: 1pt none; color: #2b91af; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;Take&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;png&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;.&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;&lt;span style=&quot;border: 1pt none; color: #2b91af; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;Length&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;)))&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;background: #EEEEEE;&quot;&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;&lt;span style=&quot;border: 1pt none; color: darkblue; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;return&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;&lt;span style=&quot;border: 1pt none; color: #2b91af; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;ImageFormat&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;.&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;&lt;span style=&quot;border: 1pt none; color: #2b91af; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;Png&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;background: #EEEEEE;&quot;&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;background: #EEEEEE;&quot;&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;&lt;span style=&quot;border: 1pt none; color: darkblue; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;if&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;tiff&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;.&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;&lt;span style=&quot;border: 1pt none; color: #2b91af; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;SequenceEqual&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;bytes&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;.&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;&lt;span style=&quot;border: 1pt none; color: #2b91af; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;Take&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;tiff&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;.&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;&lt;span style=&quot;border: 1pt none; color: #2b91af; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;Length&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;)))&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;background: #EEEEEE;&quot;&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;&lt;span style=&quot;border: 1pt none; color: darkblue; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;return&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;&lt;span style=&quot;border: 1pt none; color: #2b91af; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;ImageFormat&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;.&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;&lt;span style=&quot;border: 1pt none; color: #2b91af; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;Tiff&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;background: #EEEEEE;&quot;&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;background: #EEEEEE;&quot;&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;&lt;span style=&quot;border: 1pt none; color: darkblue; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;if&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;tiff2&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;.&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;&lt;span style=&quot;border: 1pt none; color: #2b91af; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;SequenceEqual&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;bytes&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;.&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;&lt;span style=&quot;border: 1pt none; color: #2b91af; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;Take&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;tiff2&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;.&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;&lt;span style=&quot;border: 1pt none; color: #2b91af; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;Length&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;)))&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;background: #EEEEEE;&quot;&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;&lt;span style=&quot;border: 1pt none; color: darkblue; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;return&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;&lt;span style=&quot;border: 1pt none; color: #2b91af; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;ImageFormat&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;.&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;&lt;span style=&quot;border: 1pt none; color: #2b91af; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;Tiff&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;background: #EEEEEE;&quot;&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;background: #EEEEEE;&quot;&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;&lt;span style=&quot;border: 1pt none; color: darkblue; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;if&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;jpeg&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;.&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;&lt;span style=&quot;border: 1pt none; color: #2b91af; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;SequenceEqual&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;bytes&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;.&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;&lt;span style=&quot;border: 1pt none; color: #2b91af; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;Take&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;jpeg&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;.&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;&lt;span style=&quot;border: 1pt none; color: #2b91af; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;Length&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;)))&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;background: #EEEEEE;&quot;&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;&lt;span style=&quot;border: 1pt none; color: darkblue; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;return&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;&lt;span style=&quot;border: 1pt none; color: #2b91af; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;ImageFormat&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;.&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;&lt;span style=&quot;border: 1pt none; color: #2b91af; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;Jpeg&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;background: #EEEEEE;&quot;&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;background: #EEEEEE;&quot;&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;&lt;span style=&quot;border: 1pt none; color: darkblue; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;if&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;jpeg2&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;.&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;&lt;span style=&quot;border: 1pt none; color: #2b91af; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;SequenceEqual&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;bytes&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;.&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;&lt;span style=&quot;border: 1pt none; color: #2b91af; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;Take&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;jpeg2&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;.&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;&lt;span style=&quot;border: 1pt none; color: #2b91af; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;Length&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;)))&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;background: #EEEEEE;&quot;&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;&lt;span style=&quot;border: 1pt none; color: darkblue; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;return&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;&lt;span style=&quot;border: 1pt none; color: #2b91af; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;ImageFormat&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;.&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;&lt;span style=&quot;border: 1pt none; color: #2b91af; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;Jpeg&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;background: #EEEEEE;&quot;&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;background: #EEEEEE;&quot;&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;&lt;span style=&quot;border: 1pt none; color: darkblue; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;return&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;&lt;span style=&quot;border: 1pt none; color: #2b91af; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;ImageFormat&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;.&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;&lt;span style=&quot;border: 1pt none; color: #2b91af; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;Unknown&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;/div&gt;
&lt;pre style=&quot;background: #EEEEEE;&quot;&gt;&lt;span class=&quot;pun&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;}&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #393318; font-family: &amp;quot;consolas&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;background: #EEEEEE;&quot;&gt;&lt;span class=&quot;pun&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;background: #EEEEEE;&quot;&gt;&lt;span class=&quot;pun&quot;&gt;&lt;span style=&quot;border: 1pt none; font-family: &amp;quot;consolas&amp;quot;; padding: 0in;&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://pallavi-dhepe.blogspot.com/feeds/4653854629571668097/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pallavi-dhepe.blogspot.com/2016/06/some-useful-urls.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3696000579209609335/posts/default/4653854629571668097'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3696000579209609335/posts/default/4653854629571668097'/><link rel='alternate' type='text/html' href='http://pallavi-dhepe.blogspot.com/2016/06/some-useful-urls.html' title='Some useful URLs'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/08888515920132718629</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-3696000579209609335.post-4207324545586416166</id><published>2016-06-01T01:35:00.004-07:00</published><updated>2016-06-01T01:35:42.969-07:00</updated><title type='text'>How to enable SQL Server Trace flags</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;,sans-serif; font-size: 11.0pt; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-language: AR-SA; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US; mso-fareast-theme-font: minor-latin;&quot;&gt;First run query to check flag is enable or not.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;,sans-serif; font-size: 11.0pt; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-language: AR-SA; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US; mso-fareast-theme-font: minor-latin;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;DBCC&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; TRACESTATUS&lt;span style=&quot;color: grey;&quot;&gt;(-&lt;/span&gt;1&lt;span style=&quot;color: grey;&quot;&gt;)&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Calibri, sans-serif; font-size: 14.6667px;&quot;&gt;Then execute below:-&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Calibri, sans-serif; font-size: 14.6667px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;DBCC&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; TRACEON&lt;span style=&quot;color: blue;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;1204&lt;span style=&quot;color: grey;&quot;&gt;,-&lt;/span&gt;1&lt;span style=&quot;color: grey;&quot;&gt;)&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;GO&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;DBCC&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; TRACEON&lt;span style=&quot;color: blue;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;4199&lt;span style=&quot;color: grey;&quot;&gt;,-&lt;/span&gt;1&lt;span style=&quot;color: grey;&quot;&gt;)&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;GO&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;DBCC&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; TRACEON&lt;span style=&quot;color: blue;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;2371&lt;span style=&quot;color: grey;&quot;&gt;,-&lt;/span&gt;1&lt;span style=&quot;color: grey;&quot;&gt;)&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;GO&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;DBCC&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; TRACEON&lt;span style=&quot;color: blue;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;3226&lt;span style=&quot;color: grey;&quot;&gt;,-&lt;/span&gt;1&lt;span style=&quot;color: grey;&quot;&gt;)&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;GO&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;DBCC&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; TRACEON&lt;span style=&quot;color: blue;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;1205&lt;span style=&quot;color: grey;&quot;&gt;,-&lt;/span&gt;1&lt;span style=&quot;color: grey;&quot;&gt;)&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;GO&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;DBCC&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; TRACEON&lt;span style=&quot;color: blue;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;1222&lt;span style=&quot;color: grey;&quot;&gt;,-&lt;/span&gt;1&lt;span style=&quot;color: grey;&quot;&gt;)&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;





















&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;GO&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Flag &lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;1222
and 1204 are specially used to log deadlock errors.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Once you execute above query plz check current status to
check that flags are enabled&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;

&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;DBCC&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; TRACESTATUS&lt;span style=&quot;color: grey;&quot;&gt;(-&lt;/span&gt;1&lt;span style=&quot;color: grey;&quot;&gt;)&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://pallavi-dhepe.blogspot.com/feeds/4207324545586416166/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pallavi-dhepe.blogspot.com/2016/06/how-to-enable-sql-server-trace-flags.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3696000579209609335/posts/default/4207324545586416166'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3696000579209609335/posts/default/4207324545586416166'/><link rel='alternate' type='text/html' href='http://pallavi-dhepe.blogspot.com/2016/06/how-to-enable-sql-server-trace-flags.html' title='How to enable SQL Server Trace flags'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/08888515920132718629</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-3696000579209609335.post-6422176494497253205</id><published>2016-04-28T04:58:00.002-07:00</published><updated>2016-05-31T00:13:49.038-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="dapper"/><category scheme="http://www.blogger.com/atom/ns#" term="dapper.net"/><category scheme="http://www.blogger.com/atom/ns#" term="data access layer"/><category scheme="http://www.blogger.com/atom/ns#" term="light weight ORM"/><category scheme="http://www.blogger.com/atom/ns#" term="ORM"/><title type='text'>Dapper.net-a light weight ORM</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;border-bottom: solid windowtext 1.0pt; border: none; mso-border-bottom-alt: solid windowtext .75pt; mso-element: para-border-div; padding: 0in 0in 1.0pt 0in;&quot;&gt;
&lt;div class=&quot;MsoTitle&quot; style=&quot;border: none; mso-border-bottom-alt: solid windowtext .75pt; mso-padding-alt: 0in 0in 1.0pt 0in; padding: 0in;&quot;&gt;
Dapper.net-a light weight ORM&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;
&lt;br /&gt;
I and my friend Gaurav has written this blog. We used Dapper.net in out project and found that when this is effectively used, it also causes performance gain.&lt;br /&gt;
&lt;br /&gt;
&lt;h1&gt;
&lt;a href=&quot;https://www.blogger.com/null&quot; name=&quot;_Toc448945121&quot;&gt;Introduction&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/h1&gt;
&lt;/div&gt;
&lt;div&gt;
ORMs helps to flow data from relational database to object
models. We are aware of many ORMs like LINQ-To-SQL, Entity Framework etc. They
all have some pros and cons.&lt;/div&gt;
&lt;div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Dapper.net is a newly introduces light weight ORM. This is
simple to use and is better performing hence getting popular now-a-days.&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
This is free open source software and distributed under dual
license, either the&lt;span class=&quot;apple-converted-space&quot;&gt;&lt;span style=&quot;background: white; color: #252525; font-family: &amp;quot;arial&amp;quot; , sans-serif; font-size: 10.5pt; line-height: 107%;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a href=&quot;https://en.wikipedia.org/wiki/Apache_License_2.0&quot; title=&quot;Apache License 2.0&quot;&gt;&lt;span style=&quot;background: white; color: #0b0080; font-size: 10.5pt; line-height: 107%;&quot;&gt;Apache License 2.0&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;apple-converted-space&quot;&gt;&lt;span style=&quot;background: white; color: #252525; font-family: &amp;quot;arial&amp;quot; , sans-serif; font-size: 10.5pt; line-height: 107%;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;or
the&lt;span class=&quot;apple-converted-space&quot;&gt;&lt;span style=&quot;background: white; color: #252525; font-family: &amp;quot;arial&amp;quot; , sans-serif; font-size: 10.5pt; line-height: 107%;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a href=&quot;https://en.wikipedia.org/wiki/MIT_License&quot; title=&quot;MIT License&quot;&gt;&lt;span style=&quot;background: white; color: #0b0080; font-size: 10.5pt; line-height: 107%;&quot;&gt;MIT License&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;background: white; color: #252525; font-size: 10.5pt; line-height: 107%;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;background: white; color: #252525; font-family: &amp;quot;arial&amp;quot; , sans-serif; font-size: 10.5pt; line-height: 107%;&quot;&gt; &lt;/span&gt;Dapper was started by Sam Saffron and
Marc Gravell for StackOverflow and is used by it. &lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background: white;&quot;&gt;Dapper is a micro-ORM i.e. it
does not offer the full range of features of a full ORM such as Entity
Framework. This is by design. It focuses on simplicity and performance rather
than full automation. Dapper does not generate the SQL queries, but only maps
the result to Plain Old CLR Objects (POCOs). Single class ORM is available on
NUget.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background: white;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background: white;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background: white;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Dapper&#39;s primary feature is mapping from .NET classes to
database tables. Dapper is implemented as a series of Extension Methods which
can be called on any object which implements the IDbConnection. This is compatible
with any database which implement provider for .net (&lt;b&gt;Idbconnection
implementation&lt;/b&gt;).&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
We have emphasized below key features in this blog&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpFirst&quot; style=&quot;mso-list: l0 level1 lfo1; text-indent: -.25in;&quot;&gt;
&lt;/div&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;text-indent: -0.25in;&quot;&gt;1.&lt;/span&gt;&lt;span style=&quot;font-size: 7pt; font-stretch: normal; text-indent: -0.25in;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;span style=&quot;text-indent: -0.25in;&quot;&gt;Speed and fast in performance&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;text-indent: -0.25in;&quot;&gt;2.&lt;/span&gt;&lt;span style=&quot;font-size: 7pt; font-stretch: normal; text-indent: -0.25in;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;span style=&quot;text-indent: -0.25in;&quot;&gt;Fewer lines of code&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;text-indent: -0.25in;&quot;&gt;3.&lt;/span&gt;&lt;span style=&quot;font-size: 7pt; font-stretch: normal; text-indent: -0.25in;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;span style=&quot;text-indent: -0.25in;&quot;&gt;Static and dynamic object binding&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;text-indent: -0.25in;&quot;&gt;4.&lt;/span&gt;&lt;span style=&quot;font-size: 7pt; font-stretch: normal; text-indent: -0.25in;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;span style=&quot;text-indent: -0.25in;&quot;&gt;Easy handling of SQL queries and stored
procedures&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;text-indent: -0.25in;&quot;&gt;5.&lt;/span&gt;&lt;span style=&quot;font-size: 7pt; font-stretch: normal; text-indent: -0.25in;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;span style=&quot;text-indent: -0.25in;&quot;&gt;Operating directly to IDBConnection class so
that running queries directly on database instead of passing data through
various objects like that in entity framework.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;text-indent: -0.25in;&quot;&gt;6.&lt;/span&gt;&lt;span style=&quot;font-size: 7pt; font-stretch: normal; text-indent: -0.25in;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;span style=&quot;text-indent: -0.25in;&quot;&gt;Multiple query support.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;text-indent: -0.25in;&quot;&gt;7.&lt;/span&gt;&lt;span style=&quot;font-size: 7pt; font-stretch: normal; text-indent: -0.25in;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;span style=&quot;text-indent: -0.25in;&quot;&gt;Bulk data insert.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;text-indent: -0.25in;&quot;&gt;8.&lt;/span&gt;&lt;span style=&quot;font-size: 7pt; font-stretch: normal; text-indent: -0.25in;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;span style=&quot;text-indent: -0.25in;&quot;&gt;Fetching multiple data at a time&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;text-indent: -0.25in;&quot;&gt;9.&lt;/span&gt;&lt;span style=&quot;font-size: 7pt; font-stretch: normal; text-indent: -0.25in;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;span style=&quot;text-indent: -0.25in;&quot;&gt;Transaction support&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;!--[if !supportLists]--&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;br /&gt;
&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;mso-list: l0 level1 lfo1; text-indent: -.25in;&quot;&gt;
&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;mso-list: l0 level1 lfo1; text-indent: -.25in;&quot;&gt;
&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;mso-list: l0 level1 lfo1; text-indent: -.25in;&quot;&gt;
&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;mso-list: l0 level1 lfo1; text-indent: -.25in;&quot;&gt;
&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;mso-list: l0 level1 lfo1; text-indent: -.25in;&quot;&gt;
&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;mso-list: l0 level1 lfo1; text-indent: -.25in;&quot;&gt;
&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;mso-list: l0 level1 lfo1; text-indent: -.25in;&quot;&gt;
&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpLast&quot; style=&quot;mso-list: l0 level1 lfo1; text-indent: -.25in;&quot;&gt;
&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background: white;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Dapper has no DB specific implementation details, it works
across all .NET ADO providers including SQLite, SQL CE, Firebird, Oracle,
MySQL, PostgreSQL and SQL Server.&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
People shifted to ORMs because EF like ORMs generated
queries under the hood and developer do not need all skills to write a sql
query for complex operations. EF query language is simple and object based and
easy to understand. Dapper.net does not generates queries for us. This can be
one of the drawback of dapper.net. However it is faster over EF and other ORMs
which is proved on many links. We can get the performance boost in our
application by using dapper.net or we can decide its smart use in our
application in combination of entity framework or other ORM and can get best
performance benefits wherever we need a performance improvement.&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Stack Overflow is the main site which is using dapper.net.&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h1&gt;
Extension methods provided by dapper.net&lt;o:p&gt;&lt;/o:p&gt;&lt;/h1&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Once we declare IDBConnection object, we are ready for using
dapper functionality. Note that all extension methods assume the connection is
already open, they will fail if the connection is closed.&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoTableGrid&quot; style=&quot;background: #F2F2F2; border-collapse: collapse; border: none; mso-background-themecolor: background1; mso-background-themeshade: 242; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;&quot;&gt;
 &lt;tbody&gt;
&lt;tr&gt;
  &lt;td style=&quot;border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 467.5pt;&quot; valign=&quot;top&quot; width=&quot;623&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
private IDbConnection _db = new
  SqlConnection(&quot;Data Source=&lt;dbserver&gt;; Database=&lt;dbname&gt;;
  Integrated Security=True;&quot;);&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/dbname&gt;&lt;/dbserver&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div class=&quot;MsoListParagraph&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Below is first extension method which is returning strongly
types object results. It executes the query and maps the results to strongly
type objects.&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoTableGrid&quot; style=&quot;background: #F2F2F2; border-collapse: collapse; border: none; mso-background-themecolor: background1; mso-background-themeshade: 242; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;&quot;&gt;
 &lt;tbody&gt;
&lt;tr&gt;
  &lt;td style=&quot;border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 467.5pt;&quot; valign=&quot;top&quot; width=&quot;623&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
public static IEnumerable&lt;t&gt;
  Query&lt;t&gt;(this IDbConnection cnn, string sql, object param = null,
  SqlTransaction transaction = null, bool buffered = true)&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/t&gt;&lt;/t&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&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 class=&quot;MsoNormal&quot;&gt;
Below is extension method which executes query and maps the
result to dynamic objects.&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoTableGrid&quot; style=&quot;background: #F2F2F2; border-collapse: collapse; border: none; mso-background-themecolor: background1; mso-background-themeshade: 242; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;&quot;&gt;
 &lt;tbody&gt;
&lt;tr&gt;
  &lt;td style=&quot;border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 467.5pt;&quot; valign=&quot;top&quot; width=&quot;623&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
public static
  IEnumerable&lt;dynamic&gt; Query (this IDbConnection cnn, string sql, object
  param = null, SqlTransaction transaction = null, bool buffered = true)&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/dynamic&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&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 class=&quot;MsoNormal&quot;&gt;
Below is helper extension method which executes query and do
not return results. This is used for creating database, tables, insert, update
and delete operations.&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoTableGrid&quot; style=&quot;background: #F2F2F2; border-collapse: collapse; border: none; mso-background-themecolor: background1; mso-background-themeshade: 242; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;&quot;&gt;
 &lt;tbody&gt;
&lt;tr&gt;
  &lt;td style=&quot;border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 467.5pt;&quot; valign=&quot;top&quot; width=&quot;623&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
public static int Execute(this
  IDbConnection cnn, string sql, object param = null, SqlTransaction
  transaction = null)&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&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;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;h1&gt;
CRUD Operations using dapper.net&lt;o:p&gt;&lt;/o:p&gt;&lt;/h1&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;h2&gt;
&lt;a href=&quot;https://www.blogger.com/null&quot; name=&quot;_Toc448945124&quot;&gt;Select operation&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/h2&gt;
&lt;h3&gt;
&lt;a href=&quot;https://www.blogger.com/null&quot; name=&quot;_Toc448945125&quot;&gt;Query result maps to strongly typed object Example&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/h3&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Select list of all employees is just a simple call as below.
It is returning strongly typed object provided we match the Employee class to
database Employee table.&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoTableGrid&quot; style=&quot;background: #F2F2F2; border-collapse: collapse; border: none; mso-background-themecolor: background1; mso-background-themeshade: 242; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;&quot;&gt;
 &lt;tbody&gt;
&lt;tr&gt;
  &lt;td style=&quot;border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 467.5pt;&quot; valign=&quot;top&quot; width=&quot;623&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 9.0pt;&quot;&gt;public List&lt;employee&gt; GetAll()&lt;o:p&gt;&lt;/o:p&gt;&lt;/employee&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 9.0pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
  {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 9.0pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
  &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;List&lt;employee&gt;
  empList = this._db.Query&lt;employee&gt;(&quot;SELECT * FROM
  Employee&quot;).ToList();&lt;o:p&gt;&lt;/o:p&gt;&lt;/employee&gt;&lt;/employee&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 9.0pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return empList;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 9.0pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
  }&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&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 class=&quot;MsoNormal&quot;&gt;
Find query is very simple and it is not returning any
exception if I do not have matching record in database.&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoTableGrid&quot; style=&quot;background: #F2F2F2; border-collapse: collapse; border: none; mso-background-themecolor: background1; mso-background-themeshade: 242; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;&quot;&gt;
 &lt;tbody&gt;
&lt;tr&gt;
  &lt;td style=&quot;border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 467.5pt;&quot; valign=&quot;top&quot; width=&quot;623&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 9.0pt;&quot;&gt;public List&lt;employee&gt; Find(string
  findString)&lt;o:p&gt;&lt;/o:p&gt;&lt;/employee&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 9.0pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
  {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 9.0pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; string query = &quot;SELECT *
  FROM Employee WHERE EmpName like &#39;%&quot; + findString + &quot;%&#39;&quot;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 9.0pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return
  this._db.Query&lt;employee&gt;(query).ToList();&lt;o:p&gt;&lt;/o:p&gt;&lt;/employee&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 9.0pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
  }&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&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 class=&quot;MsoNormal&quot;&gt;
Complex queries where data is coming from two different
tables with some join, example:-&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoTableGrid&quot; style=&quot;background: #F2F2F2; border-collapse: collapse; border: none; mso-background-themecolor: background1; mso-background-themeshade: 242; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;&quot;&gt;
 &lt;tbody&gt;
&lt;tr&gt;
  &lt;td style=&quot;border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 467.5pt;&quot; valign=&quot;top&quot; width=&quot;623&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 9.0pt;&quot;&gt;public class Product&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 9.0pt;&quot;&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 9.0pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;
  public int ProductID { get; set; }&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 9.0pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;
  public string Name { get; set; }&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 9.0pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;
  public string ProductNumber { get; set; }&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 9.0pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;
  public DateTime ModifiedDate { get; set; }&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 9.0pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;
  public SubCategory SubCategory { get; set; }&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 9.0pt;&quot;&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 9.0pt;&quot;&gt;public IEnumerable&lt;product&gt;
  SelectProductsWithSubCategories()&lt;o:p&gt;&lt;/o:p&gt;&lt;/product&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 9.0pt;&quot;&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 9.0pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;
  using (IDbConnection connection = OpenConnection())&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 9.0pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;
  {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 9.0pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
  const string query = &quot;SELECT p.ProductID, p.Name, p.ProductNumber,&amp;nbsp; p.ModifiedDate, &quot; +&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 9.0pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &quot;s.ProductSubcategoryId AS
  Id, s.ProductCategoryID AS CategoryId, &quot; + &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 9.0pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &quot;s.[Name], s.ModifiedDate
  AS ModifiedOn &quot; +&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 9.0pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &quot;FROM Production.Product p
  &quot; +&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 9.0pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &quot;LEFT OUTER JOIN
  Production.ProductSubcategory &quot; + &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 9.0pt;&quot;&gt;&amp;nbsp;
  &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&quot;s ON
  s.ProductSubcategoryId = p.ProductSubcategoryID&quot;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 9.0pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
  &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 9.0pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
  return connection.Query&lt;product product=&quot;&quot; subcategory=&quot;&quot;&gt;(query, &lt;o:p&gt;&lt;/o:p&gt;&lt;/product&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 9.0pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (product, subCategory) =&amp;gt; {
  product.SubCategory = subCategory; return product; });&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 9.0pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;
  }&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 9.0pt;&quot;&gt;}&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&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;h3&gt;
&lt;a href=&quot;https://www.blogger.com/null&quot; name=&quot;_Toc448945126&quot;&gt;Query result maps to dynamic objects Example&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/h3&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Example of dynamic results mapping&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoTableGrid&quot; style=&quot;background: #F2F2F2; border-collapse: collapse; border: none; mso-background-themecolor: background1; mso-background-themeshade: 242; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;&quot;&gt;
 &lt;tbody&gt;
&lt;tr&gt;
  &lt;td style=&quot;border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 467.5pt;&quot; valign=&quot;top&quot; width=&quot;623&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 9.0pt;&quot;&gt;public IEnumerable&lt;dynamic&gt;
  FindWithDynamicSupport(string findString)&lt;o:p&gt;&lt;/o:p&gt;&lt;/dynamic&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 9.0pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
  {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 9.0pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; string query = &quot;SELECT
  EmpId,EmpName FROM Employee WHERE EmpName like &#39;%&quot; + findString +
  &quot;%&#39;&quot;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 9.0pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return
  this._db.Query&lt;dynamic&gt;(query);&lt;o:p&gt;&lt;/o:p&gt;&lt;/dynamic&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 9.0pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
  }&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 9.0pt;&quot;&gt;private void button2_Click(object
  sender, EventArgs e)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 9.0pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
  {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 9.0pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; string displayResult =
  &quot;&quot;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 9.0pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var results =
  _board.FindWithDynamicSupport(textBoxFind.Text);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 9.0pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; foreach (var row in results)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 9.0pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 9.0pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; displayResult += row.EmpId +
  &quot; &quot; + row.EmpName + &quot;\n&quot;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 9.0pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 9.0pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MessageBox.Show(displayResult);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 9.0pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
  }&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&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;h3&gt;
&lt;a href=&quot;https://www.blogger.com/null&quot; name=&quot;_Toc448945127&quot;&gt;Multiple query support&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/h3&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Dapper allows you to process multiple result grids in a
single query. &lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoTableGrid&quot; style=&quot;background: #F2F2F2; border-collapse: collapse; border: none; mso-background-themecolor: background1; mso-background-themeshade: 242; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;&quot;&gt;
 &lt;tbody&gt;
&lt;tr&gt;
  &lt;td style=&quot;border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 467.5pt;&quot; valign=&quot;top&quot; width=&quot;623&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 9.0pt;&quot;&gt;var sql = @&quot;select * from
  Customers where CustomerId = @id&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 9.0pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; select * from Orders
  where CustomerId = @id&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 9.0pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; select * from Returns
  where CustomerId = @id&quot;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 9.0pt;&quot;&gt;using (var multi = connection.QueryMultiple(sql,
  new {id=selectedId}))&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 9.0pt;&quot;&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 9.0pt;&quot;&gt;&amp;nbsp;&amp;nbsp;
  var customer = multi.Read&lt;customer&gt;().Single();&lt;o:p&gt;&lt;/o:p&gt;&lt;/customer&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 9.0pt;&quot;&gt;&amp;nbsp;&amp;nbsp;
  var orders = multi.Read&lt;order&gt;().ToList();&lt;o:p&gt;&lt;/o:p&gt;&lt;/order&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 9.0pt;&quot;&gt;&amp;nbsp;&amp;nbsp;
  var returns = multi.Read&lt;return&gt;().ToList();&lt;o:p&gt;&lt;/o:p&gt;&lt;/return&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 9.0pt;&quot;&gt;&amp;nbsp;&amp;nbsp;
  ...&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 9.0pt;&quot;&gt;}&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&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;h3&gt;
&lt;a href=&quot;https://www.blogger.com/null&quot; name=&quot;_Toc448945128&quot;&gt;Select using stored procedure&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/h3&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Dapper fully supports stored procs. &lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoTableGrid&quot; style=&quot;background: #F2F2F2; border-collapse: collapse; border: none; mso-background-themecolor: background1; mso-background-themeshade: 242; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;&quot;&gt;
 &lt;tbody&gt;
&lt;tr&gt;
  &lt;td style=&quot;border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 467.5pt;&quot; valign=&quot;top&quot; width=&quot;623&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 9.0pt;&quot;&gt;var user =
  cnn.Query&lt;user&gt;(&quot;spGetUser&quot;, new {Id = 1}, &lt;o:p&gt;&lt;/o:p&gt;&lt;/user&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 9.0pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
  commandType: CommandType.StoredProcedure).SingleOrDefault();&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 9.0pt;&quot;&gt;//or with more fancy way&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 9.0pt;&quot;&gt;var p = new DynamicParameters();&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 9.0pt;&quot;&gt;p.Add(&quot;@a&quot;, 11);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 9.0pt;&quot;&gt;p.Add(&quot;@b&quot;, dbType:
  DbType.Int32, direction: ParameterDirection.Output);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 9.0pt;&quot;&gt;p.Add(&quot;@c&quot;, dbType:
  DbType.Int32, direction: ParameterDirection.ReturnValue);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 9.0pt;&quot;&gt;cnn.Execute(&quot;spMagicProc&quot;, p,
  commandType: CommandType.StoredProcedure); &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 9.0pt;&quot;&gt;int b =
  p.Get&lt;int&gt;(&quot;@b&quot;);&lt;o:p&gt;&lt;/o:p&gt;&lt;/int&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 9.0pt;&quot;&gt;int c = p.Get&lt;int&gt;(&quot;@c&quot;);&lt;o:p&gt;&lt;/o:p&gt;&lt;/int&gt;&lt;/span&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;h3&gt;
&lt;a href=&quot;https://www.blogger.com/null&quot; name=&quot;_Toc448945129&quot;&gt;Support for IEnumerable parameter to the query&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/h3&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Dapper allow you to pass in IEnumerable and will
automatically parameterize your query. E.g. &lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoTableGrid&quot; style=&quot;background: #F2F2F2; border-collapse: collapse; border: none; mso-background-themecolor: background1; mso-background-themeshade: 242; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;&quot;&gt;
 &lt;tbody&gt;
&lt;tr&gt;
  &lt;td style=&quot;border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 467.5pt;&quot; valign=&quot;top&quot; width=&quot;623&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 9.0pt;&quot;&gt;connection.Query&lt;int&gt;(&quot;select
  * from (select 1 as Id union all select 2 union all select 3) as X where Id in
  @Ids&quot;, new { Ids = new int[] { 1, 2, 3 });&lt;o:p&gt;&lt;/o:p&gt;&lt;/int&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 9.0pt;&quot;&gt;//this is translated to the query as
  below&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 9.0pt;&quot;&gt;//select * from (select 1 as Id union
  all select 2 union all select 3) as X where Id in (@Ids1, @Ids2, @Ids3)&quot;
  &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 9.0pt;&quot;&gt;// @Ids1 = 1 ,@Ids2 = 2 , @Ids2 = 3&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&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;h2&gt;
&lt;a href=&quot;https://www.blogger.com/null&quot; name=&quot;_Toc448945130&quot;&gt;Insert Operation&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/h2&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Dapper.net allows us to execute a command multiple times
like below.&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoTableGrid&quot; style=&quot;background: #F2F2F2; border-collapse: collapse; border: none; mso-background-themecolor: background1; mso-background-themeshade: 242; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;&quot;&gt;
 &lt;tbody&gt;
&lt;tr&gt;
  &lt;td style=&quot;border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 467.5pt;&quot; valign=&quot;top&quot; width=&quot;623&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 9.0pt;&quot;&gt;connection.Execute(@&quot;insert
  MyTable(colA, colB) values (@a, @b)&quot;,&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 9.0pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;
  new[] { new { a=1, b=1 }, new { a=2, b=2 }, new { a=3, b=3 } }&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 9.0pt;&quot;&gt;&amp;nbsp;
  ).IsEqualTo(3); &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 9.0pt;&quot;&gt;// 3 rows inserted: &quot;1,1&quot;,
  &quot;2,2&quot; and &quot;3,3&quot;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&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;
This works for any parameter that implements IEnumerable for
some T.&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;h3&gt;
&lt;a href=&quot;https://www.blogger.com/null&quot; name=&quot;_Toc448945131&quot;&gt;Bulk Insert&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/h3&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Dapper.net has simplified the bulk insert queries. Look at
below sample:-&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoTableGrid&quot; style=&quot;background: #F2F2F2; border-collapse: collapse; border: none; mso-background-themecolor: background1; mso-background-themeshade: 242; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;&quot;&gt;
 &lt;tbody&gt;
&lt;tr&gt;
  &lt;td style=&quot;border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 467.5pt;&quot; valign=&quot;top&quot; width=&quot;623&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 9.0pt;&quot;&gt;&amp;nbsp;
  public void BulkInsert()&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 9.0pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
  {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 9.0pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; List&lt;employee&gt; list = new
  List&lt;employee&gt;() { new Employee() { EmpName = &quot;Name1&quot;,
  EmpScore = 12 }, new Employee() { EmpName = &quot;Name2&quot;, EmpScore = 13
  } };&lt;o:p&gt;&lt;/o:p&gt;&lt;/employee&gt;&lt;/employee&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 9.0pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var sqlQuery = &quot;INSERT INTO
  Employee (EmpName, EmpScore) VALUES (@EmpName, @EmpScore); &quot;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 9.0pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var result =&amp;nbsp; this._db.Execute(sqlQuery, list);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 9.0pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
  }&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&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;h2&gt;
&lt;a href=&quot;https://www.blogger.com/null&quot; name=&quot;_Toc448945132&quot;&gt;Delete Operation&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/h2&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Using Execute extension for Remove operation, dapper.net has
provided the delete functionality. Example is as below.&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoTableGrid&quot; style=&quot;background: #F2F2F2; border-collapse: collapse; border: none; mso-background-themecolor: background1; mso-background-themeshade: 242; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;&quot;&gt;
 &lt;tbody&gt;
&lt;tr&gt;
  &lt;td style=&quot;border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 467.5pt;&quot; valign=&quot;top&quot; width=&quot;623&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 9.0pt;&quot;&gt;&amp;nbsp;
  public void Remove(int id)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 9.0pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
  {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 9.0pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var sqlQuery = (&quot;Delete From
  Employee Where EmpID = &quot; + id + &quot;&quot;);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 9.0pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; this._db.Execute(sqlQuery);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 9.0pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
  }&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&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;h2&gt;
&lt;a href=&quot;https://www.blogger.com/null&quot; name=&quot;_Toc448945133&quot;&gt;Create Operations&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/h2&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Dapper.net has not provided create table functionality.&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&amp;nbsp;&lt;/div&gt;
&lt;h1&gt;
&lt;a href=&quot;https://www.blogger.com/null&quot; name=&quot;_Toc448945134&quot;&gt;Transaction Support&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/h1&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Dapper also supports transactional operations. Syntax for
transaction start and commit is as below. Execute the dapper.net queries in
after starting transaction and have commit on successful execution.&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
IDbTransaction transaction = connection.BeginTransaction();&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
;&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
;&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
transaction.Commit();&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h1&gt;
&lt;a href=&quot;https://www.blogger.com/null&quot; name=&quot;_Toc448945135&quot;&gt;Statistics&lt;/a&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/h1&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
A key feature of Dapper is performance. The metrics shows statistics taken from github website provided by dapper.net
people itself. &lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Ref link: &lt;a href=&quot;https://github.com/StackExchange/dapper-dot-net&quot;&gt;https://github.com/StackExchange/dapper-dot-net&lt;/a&gt;&lt;span class=&quot;MsoHyperlink&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;!--[if gte vml 1]&gt;&lt;v:shapetype
 id=&quot;_x0000_t75&quot; coordsize=&quot;21600,21600&quot; o:spt=&quot;75&quot; o:preferrelative=&quot;t&quot;
 path=&quot;m@4@5l@4@11@9@11@9@5xe&quot; filled=&quot;f&quot; stroked=&quot;f&quot;&gt;
 &lt;v:stroke joinstyle=&quot;miter&quot;/&gt;
 &lt;v:formulas&gt;
  &lt;v:f eqn=&quot;if lineDrawn pixelLineWidth 0&quot;/&gt;
  &lt;v:f eqn=&quot;sum @0 1 0&quot;/&gt;
  &lt;v:f eqn=&quot;sum 0 0 @1&quot;/&gt;
  &lt;v:f eqn=&quot;prod @2 1 2&quot;/&gt;
  &lt;v:f eqn=&quot;prod @3 21600 pixelWidth&quot;/&gt;
  &lt;v:f eqn=&quot;prod @3 21600 pixelHeight&quot;/&gt;
  &lt;v:f eqn=&quot;sum @0 0 1&quot;/&gt;
  &lt;v:f eqn=&quot;prod @6 1 2&quot;/&gt;
  &lt;v:f eqn=&quot;prod @7 21600 pixelWidth&quot;/&gt;
  &lt;v:f eqn=&quot;sum @8 21600 0&quot;/&gt;
  &lt;v:f eqn=&quot;prod @7 21600 pixelHeight&quot;/&gt;
  &lt;v:f eqn=&quot;sum @10 21600 0&quot;/&gt;
 &lt;/v:formulas&gt;
 &lt;v:path o:extrusionok=&quot;f&quot; gradientshapeok=&quot;t&quot; o:connecttype=&quot;rect&quot;/&gt;
 &lt;o:lock v:ext=&quot;edit&quot; aspectratio=&quot;t&quot;/&gt;
&lt;/v:shapetype&gt;&lt;v:shape id=&quot;Picture_x0020_3&quot; o:spid=&quot;_x0000_i1027&quot; type=&quot;#_x0000_t75&quot;
 style=&#39;width:468pt;height:243pt;visibility:visible;mso-wrap-style:square&#39;&gt;
 &lt;v:imagedata src=&quot;file:///C:\Users\PKULKA~1\AppData\Local\Temp\msohtmlclip1\01\clip_image001.png&quot;
  o:title=&quot;&quot;/&gt;
&lt;/v:shape&gt;&lt;![endif]--&gt;&lt;!--[if !vml]--&gt;&lt;!--[endif]--&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;!--[if gte vml 1]&gt;&lt;v:shape
 id=&quot;Picture_x0020_4&quot; o:spid=&quot;_x0000_i1026&quot; type=&quot;#_x0000_t75&quot; style=&#39;width:468pt;
 height:116.25pt;visibility:visible;mso-wrap-style:square&#39;&gt;
 &lt;v:imagedata src=&quot;file:///C:\Users\PKULKA~1\AppData\Local\Temp\msohtmlclip1\01\clip_image003.png&quot;
  o:title=&quot;&quot;/&gt;
&lt;/v:shape&gt;&lt;![endif]--&gt;&lt;!--[if !vml]--&gt;&lt;!--[endif]--&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;!--[if gte vml 1]&gt;&lt;v:shape
 id=&quot;Picture_x0020_5&quot; o:spid=&quot;_x0000_i1025&quot; type=&quot;#_x0000_t75&quot; style=&#39;width:468pt;
 height:165.75pt;visibility:visible;mso-wrap-style:square&#39;&gt;
 &lt;v:imagedata src=&quot;file:///C:\Users\PKULKA~1\AppData\Local\Temp\msohtmlclip1\01\clip_image005.png&quot;
  o:title=&quot;&quot;/&gt;
&lt;/v:shape&gt;&lt;![endif]--&gt;&lt;!--[if !vml]--&gt;&lt;!--[endif]--&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;h1&gt;
&lt;a href=&quot;https://www.blogger.com/null&quot; name=&quot;_Toc448945136&quot;&gt;Reference Links&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/h1&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;a href=&quot;https://github.com/StackExchange/dapper-dot-net&quot;&gt;https://github.com/StackExchange/dapper-dot-net&lt;/a&gt;&lt;span class=&quot;MsoHyperlink&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;a href=&quot;http://www.codeproject.com/Articles/212274/A-Look-at-Dapper-NET&quot;&gt;http://www.codeproject.com/Articles/212274/A-Look-at-Dapper-NET&lt;/a&gt;
&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;a href=&quot;https://github.com/StackExchange/dapper-dot-net/blob/master/Dapper.Tests/PerformanceTests.cs&quot;&gt;https://github.com/StackExchange/dapper-dot-net/blob/master/Dapper.Tests/PerformanceTests.cs&lt;/a&gt;
&lt;o:p&gt;&lt;/o:p&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Sample&lt;br /&gt;
public interface IEmployeeDashBoard&lt;br /&gt;
&amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; List&lt;employee&gt; GetAll();&lt;/employee&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; List&lt;employee&gt; Find(string findText);&lt;/employee&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Employee Add(Employee employee);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Employee Update(Employee employee);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; void Remove(int id);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; IEnumerable&lt;dynamic&gt; FindWithDynamicSupport(string findString);&lt;/dynamic&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;public class EmployeeDashBoard : IEmployeeDashBoard&lt;br /&gt;
&amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; private IDbConnection _db; // = new SqlConnection(&quot;Data Source=pallavi-kul-LAP\\MSSQL2008; Database= test; Integrated Security=True;&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; public EmployeeDashBoard(string connectionString)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; _db = new SqlConnection(connectionString);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; } &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; public List&lt;employee&gt; GetAll()&lt;/employee&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; List&lt;employee&gt; empList = this._db.Query&lt;employee&gt;(&quot;SELECT * FROM Employee&quot;).ToList();&lt;/employee&gt;&lt;/employee&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return empList;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; public List&lt;employee&gt; Find(string findString)&lt;/employee&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; string query = &quot;SELECT * FROM Employee WHERE EmpName like &#39;%&quot; + findString + &quot;%&#39;&quot;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return this._db.Query&lt;employee&gt;(query).ToList();&lt;/employee&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; public IEnumerable&lt;dynamic&gt; FindWithDynamicSupport(string findString)&lt;/dynamic&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; string query = &quot;SELECT EmpId,EmpName FROM Employee WHERE EmpName like &#39;%&quot; + findString + &quot;%&#39;&quot;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return this._db.Query&lt;dynamic&gt;(query);&lt;/dynamic&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; public Employee Add(Employee employee)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; var sqlQuery = &quot;INSERT INTO Employee (EmpName, EmpScore) VALUES (@EmpName, @EmpScore); &quot; + &quot;SELECT CAST(SCOPE_IDENTITY() as int)&quot;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; var employeeId = this._db.Query&lt;int&gt;(sqlQuery, employee).Single();&lt;/int&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; employee.EmpID = employeeId;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return employee;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; public void BulkInsert()&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; List&lt;employee&gt; list = new List&lt;employee&gt;() { new Employee() { EmpName = &quot;Name1&quot;, EmpScore = 12 }, new Employee() { EmpName = &quot;Name2&quot;, EmpScore = 13 } };&lt;/employee&gt;&lt;/employee&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; var sqlQuery = &quot;INSERT INTO Employee (EmpName, EmpScore) VALUES (@EmpName, @EmpScore); &quot;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;var result = &amp;nbsp;this._db.Execute(sqlQuery, list);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; public string AddUsingSPN(Employee employee)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; var p = new DynamicParameters();&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; p.Add(&quot;EmpName&quot;, employee.EmpName, null, ParameterDirection.Input, 50);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; p.Add(&quot;EmpScore&quot;, employee.EmpScore, null, ParameterDirection.Input);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; p.Add(&quot;EmpUpdatedName&quot;, null, DbType.AnsiString, ParameterDirection.Output, 50);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; p.Add(&quot;EmpJoiningDate&quot;, null, DbType.DateTime, ParameterDirection.Output);&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; this._db.Query&lt;int&gt;(&quot;CreateEmployeeRecord&quot;, p, commandType: CommandType.StoredProcedure);&lt;/int&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; string name = p.Get&lt;string&gt;(&quot;EmpUpdatedName&quot;);&lt;/string&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; DateTime date = p.Get&lt;datetime&gt;(&quot;EmpJoiningDate&quot;);&lt;/datetime&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return name;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; public string QueryMultiplePOC(int i = 4)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; var p = new DynamicParameters();&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; p.Add(&quot;a&quot;, i);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; p.Add(&quot;r&quot;, dbType: DbType.Int32, direction: ParameterDirection.ReturnValue);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; var grid = _db.QueryMultiple(&quot;spEcho&quot;, p, commandType: CommandType.StoredProcedure);&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; var result1 = grid.Read&lt;dynamic dynamic=&quot;&quot; tuple=&quot;&quot;&gt;&amp;gt;(&lt;/dynamic&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; (a, b) =&amp;gt; Tuple.Create((object)a, (object)b)).ToList();&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; var result2 = grid.Read&lt;dynamic dynamic=&quot;&quot; tuple=&quot;&quot;&gt;&amp;gt;(&lt;/dynamic&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; (a, b) =&amp;gt; Tuple.Create((object)a, (object)b)).ToList();&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return ((int)(result1[0].Item1.Id)) + &quot; | &quot; + ((int)(result1[0].Item2.Id));&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; public Employee Update(Employee employee)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; var sqlQuery =&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &quot;UPDATE Employee &quot; +&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &quot;SET EmpName = @EmpName, &quot; +&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &quot; EmpScore = @EmpScore &quot; +&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &quot;WHERE EmpID = @EmpID&quot;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; this._db.Execute(sqlQuery, employee);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return employee;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; public void Remove(int id)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; var sqlQuery = (&quot;Delete From Employee Where EmpID = &quot; + id + &quot;&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; this._db.Execute(sqlQuery);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&lt;br /&gt;
//use&lt;br /&gt;
EmployeeDashBoard _board =&amp;nbsp;new EmployeeDashBoard(textBoxConnectionstring.Text);&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; private void RefreshListBox()&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.listBox1.DataSource = _board.GetAll(); &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&amp;nbsp;private void buttonRemove_Click(object sender, EventArgs e)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; _board.Remove(((Employee)(listBox1.SelectedItem)).EmpID);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; RefreshListBox();&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
private void buttonAddUsingSP_Click(object sender, EventArgs e)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; var msg = _board.AddUsingSPN(new Employee(textBox1.Text, double.Parse(textBox2.Text)));&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; MessageBox.Show(msg);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&amp;nbsp; private void buttonQueryMultiplePOC_Click(object sender, EventArgs e)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /* ***************** below is SP ***********&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; * create proc spEcho&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;@a int&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;as&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;begin,&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;select @a Id, &#39;ping&#39; Name, 1 Id, &#39;pong1&#39; Name&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;select @a Id, &#39;ping&#39; Name, 2 Id, &#39;pong2&#39; Name&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return @a&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;end&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; * */&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /* ***************** Result ******************&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;*&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;*&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;(1 row(s) affected)&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Id &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Name Id &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Name&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ----------- ---- ----------- -----&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 3 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ping 2 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; pong2&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; (1 row(s) affected)&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Return Value&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ------------&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 3&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; (1 row(s) affected)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;* */&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; MessageBox.Show(_board.QueryMultiplePOC());&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;private void buttonFind_Click(object sender, EventArgs e)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; string textToFind = textBoxFind.Text;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; List&lt;employee&gt; empList = _board.Find(textToFind);&lt;/employee&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; MessageBox.Show(empList.Count.ToString());&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;private void buttonReEstablishConnection_Click(object sender, EventArgs e)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; _board = new EmployeeDashBoard(textBoxConnectionstring.Text);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&amp;nbsp;private void buttonFindWithDynamicSupport_Click(object sender, EventArgs e)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; string displayResult = &quot;&quot;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; var results = _board.FindWithDynamicSupport(textBoxFind.Text);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; foreach (var row in results)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;displayResult += row.EmpId + &quot; &quot; + row.EmpName + &quot;\n&quot;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; MessageBox.Show(displayResult);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
private void buttonBulkInsert_Click(object sender, EventArgs e)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; _board.BulkInsert();&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; RefreshListBox();&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://pallavi-dhepe.blogspot.com/feeds/6422176494497253205/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pallavi-dhepe.blogspot.com/2016/04/dappernet-light-weight-orm.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3696000579209609335/posts/default/6422176494497253205'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3696000579209609335/posts/default/6422176494497253205'/><link rel='alternate' type='text/html' href='http://pallavi-dhepe.blogspot.com/2016/04/dappernet-light-weight-orm.html' title='Dapper.net-a light weight ORM'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/08888515920132718629</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-3696000579209609335.post-3080190839820811896</id><published>2015-10-05T06:38:00.000-07:00</published><updated>2015-10-05T06:38:12.636-07:00</updated><title type='text'>Regular expressions to resolve different requirements</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Issue 1&amp;gt;&lt;br /&gt;
I was having requirement that I want to find all words in two consecutive % characters. Below interesting regular expression I used for that.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;%[\w\s\S]*?%&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
\w for alphabet and underscore&lt;br /&gt;
\s for space&lt;br /&gt;
\S for special chars&lt;br /&gt;
? returns shortest possible match&lt;br /&gt;
&lt;br /&gt;
Edit the&lt;span style=&quot;background-color: yellow;&quot;&gt;% my file %&lt;/span&gt; &lt;span style=&quot;background-color: yellow;&quot;&gt;%%&lt;/span&gt; &lt;span style=&quot;background-color: yellow;&quot;&gt;%kjghjhgkjg %&lt;/span&gt; &lt;span style=&quot;background-color: yellow;&quot;&gt;% (**&amp;amp;*&amp;amp;*&amp;amp;*&amp;amp;*&amp;amp;*&amp;amp;*&amp;amp; %&lt;/span&gt; &lt;span style=&quot;background-color: yellow;&quot;&gt;%9089898098%&lt;/span&gt; Expression&lt;br /&gt;
&lt;br /&gt;
Highlighted are the matches.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Segoe UI&#39;, sans-serif; font-size: 10pt;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;a href=&quot;http://regexr.com/3btui&quot;&gt;http://regexr.com/3btui&lt;/a&gt;&amp;nbsp;see for more details.&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Segoe UI&amp;quot;,sans-serif; font-size: 10.0pt;&quot;&gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Segoe UI&#39;, sans-serif; font-size: 10pt;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Segoe UI&#39;, sans-serif; font-size: 10pt;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;The c#.net code used as below to find all these matches.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Segoe UI&#39;, sans-serif; font-size: 10pt;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;background: white; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;b&gt;&lt;span style=&quot;background: white; color: green; font-family: Consolas; font-size: 9.5pt;&quot;&gt;MatchCollection allMatchResults = null;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;background: white; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;span style=&quot;background: white; color: green; font-family: Consolas; font-size: 9.5pt;&quot;&gt;var regexObj = new Regex(@&quot;%[\w\s\S]*?%&quot;); &amp;nbsp;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;background: white; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;span style=&quot;background: white; color: green; font-family: Consolas; font-size: 9.5pt;&quot;&gt;allMatchResults = regexObj.Matches(this.textBox1.Text);&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;background: white; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;span style=&quot;background: white; color: green; font-family: Consolas; font-size: 9.5pt;&quot;&gt;string output = &quot;&quot;;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;background: white; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;span style=&quot;background: white; color: green; font-family: Consolas; font-size: 9.5pt;&quot;&gt;foreach (var s in allMatchResults)&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;background: white; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;span style=&quot;background: white; color: green; font-family: Consolas; font-size: 9.5pt;&quot;&gt;{&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;background: white; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;span style=&quot;background: white; color: green; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp; &amp;nbsp; output += s + &quot;\n&quot;;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;background: white; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;span style=&quot;background: white; color: green; font-family: Consolas; font-size: 9.5pt;&quot;&gt;}&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;



















&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;background: white; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;span style=&quot;background: white; color: green; font-family: Consolas; font-size: 9.5pt;&quot;&gt;label1.Text = output;&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &#39;Segoe UI&#39;, sans-serif; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://pallavi-dhepe.blogspot.com/feeds/3080190839820811896/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pallavi-dhepe.blogspot.com/2015/10/regular-expressions-to-resolve.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3696000579209609335/posts/default/3080190839820811896'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3696000579209609335/posts/default/3080190839820811896'/><link rel='alternate' type='text/html' href='http://pallavi-dhepe.blogspot.com/2015/10/regular-expressions-to-resolve.html' title='Regular expressions to resolve different requirements'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/08888515920132718629</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-3696000579209609335.post-7030316773531995289</id><published>2015-08-21T06:06:00.003-07:00</published><updated>2015-08-21T06:09:54.644-07:00</updated><title type='text'>Getting &quot;Must declare the scalar variable&quot; error while writing SQL statements in script</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;MsoNormal&quot;&gt;
I was writing bunch of operations in sql, was using SQL
Server 2008 R2. I declared one INT variable and was trying to use inside select
statement, I was getting error as &quot;Must declare the scalar variable
&quot;@numberOfCards&quot;.&quot;&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;SQL scripts looks like something similar to this: -&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: .5in;&quot;&gt;
&lt;i&gt;declare
@numberOfCards int;&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: .5in;&quot;&gt;
&lt;i&gt;set
@numberOfCards = 3; --some number &lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: .5in;&quot;&gt;
&lt;i&gt;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: .5in;&quot;&gt;
&lt;i&gt;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: .5in;&quot;&gt;
&lt;i&gt;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: .5in;&quot;&gt;
&lt;i&gt;GO&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: .5in;&quot;&gt;
&lt;i&gt;select
* from CardsRepository where CardsCount = @numberOfCards &lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;Reason of issue:&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Culprit was GO statement. The GO command signals the end of
a batch of Transact-SQL statements. A local variable is only valid within the
body of a batch or procedure.&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;Solution:&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
The first option is to remove the GO command between the 2
sets of scripts so that the local variable @numberOfCards is valid and
accessible on both scripts. Use semi comma where ever the sql statement ends.&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://pallavi-dhepe.blogspot.com/feeds/7030316773531995289/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pallavi-dhepe.blogspot.com/2015/08/getting-must-declare-scalar-variable.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3696000579209609335/posts/default/7030316773531995289'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3696000579209609335/posts/default/7030316773531995289'/><link rel='alternate' type='text/html' href='http://pallavi-dhepe.blogspot.com/2015/08/getting-must-declare-scalar-variable.html' title='Getting &quot;Must declare the scalar variable&quot; error while writing SQL statements in script'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/08888515920132718629</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-3696000579209609335.post-4346353547258319642</id><published>2015-04-01T00:41:00.000-07:00</published><updated>2016-05-13T02:07:46.100-07:00</updated><title type='text'>Good serialization deserialization example in c# 4.0 (.Net 4.0)</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;Code of deserialization&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;background: white; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background: white; color: #2b91af; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt;&quot;&gt;CarInfoCollection&lt;/span&gt;&lt;span style=&quot;background: white; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt;&quot;&gt; carInfoCollection = &lt;/span&gt;&lt;span style=&quot;background: white; color: blue; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt;&quot;&gt;null&lt;/span&gt;&lt;span style=&quot;background: white; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt;&quot;&gt;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;background: white; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;background: white; color: blue; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt;&quot;&gt;using&lt;/span&gt;&lt;span style=&quot;background: white; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt;&quot;&gt; (&lt;/span&gt;&lt;span style=&quot;background: white; color: #2b91af; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt;&quot;&gt;StringReader&lt;/span&gt;&lt;span style=&quot;background: white; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt;&quot;&gt; strReader = &lt;/span&gt;&lt;span style=&quot;background: white; color: blue; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt;&quot;&gt;new&lt;/span&gt;&lt;span style=&quot;background: white; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;background: white; color: #2b91af; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt;&quot;&gt;StringReader&lt;/span&gt;&lt;span style=&quot;background: white; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;background: white; color: blue; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt;&quot;&gt;this&lt;/span&gt;&lt;span style=&quot;background: white; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt;&quot;&gt;.textBox.Text.Trim()))&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;background: white; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;background: white; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;background: white; color: blue; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt;&quot;&gt;using&lt;/span&gt;&lt;span style=&quot;background: white; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt;&quot;&gt; (&lt;/span&gt;&lt;span style=&quot;background: white; color: #2b91af; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt;&quot;&gt;XmlTextReader&lt;/span&gt;&lt;span style=&quot;background: white; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt;&quot;&gt; reader = &lt;/span&gt;&lt;span style=&quot;background: white; color: blue; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt;&quot;&gt;new&lt;/span&gt;&lt;span style=&quot;background: white; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;background: white; color: #2b91af; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt;&quot;&gt;XmlTextReader&lt;/span&gt;&lt;span style=&quot;background: white; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt;&quot;&gt;(strReader))&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;background: white; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;background: white; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;background: white; color: #2b91af; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt;&quot;&gt;XmlSerializer&lt;/span&gt;&lt;span style=&quot;background: white; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt;&quot;&gt;
serializer = &lt;/span&gt;&lt;span style=&quot;background: white; color: blue; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt;&quot;&gt;new&lt;/span&gt;&lt;span style=&quot;background: white; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;background: white; color: #2b91af; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt;&quot;&gt;XmlSerializer&lt;/span&gt;&lt;span style=&quot;background: white; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;background: white; color: blue; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt;&quot;&gt;typeof&lt;/span&gt;&lt;span style=&quot;background: white; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;background: white; color: #2b91af; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt;&quot;&gt;CarInfoCollection&lt;/span&gt;&lt;span style=&quot;background: white; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt;&quot;&gt;));&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;background: white; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; carInfoCollection = (&lt;/span&gt;&lt;span style=&quot;background: white; color: #2b91af; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt;&quot;&gt;CarInfoCollection&lt;/span&gt;&lt;span style=&quot;background: white; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt;&quot;&gt;)serializer.Deserialize(reader);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;background: white; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; reader.Close();&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;background: white; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;background: white; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background: white; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt; line-height: 107%;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background: white; color: #2b91af; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt; line-height: 107%;&quot;&gt;MessageBox&lt;/span&gt;&lt;span style=&quot;background: white; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt; line-height: 107%;&quot;&gt;.Show(carInfoCollection.CarInfoFields.Count().ToString());&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt; line-height: 107%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background: white; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt; line-height: 107%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background: white; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt; line-height: 107%;&quot;&gt;----------------------------------------------------------------------------------------&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background: white; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt; line-height: 107%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background: white; line-height: 107%;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;Type classes&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background: white; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt; line-height: 107%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;background: white; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;[System.&lt;/span&gt;&lt;span style=&quot;background: white; color: #2b91af; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt;&quot;&gt;SerializableAttribute&lt;/span&gt;&lt;span style=&quot;background: white; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt;&quot;&gt;()]&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;background: white; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [&lt;/span&gt;&lt;span style=&quot;background: white; color: #2b91af; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt;&quot;&gt;XmlRootAttribute&lt;/span&gt;&lt;span style=&quot;background: white; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;background: white; color: #a31515; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt;&quot;&gt;&quot;CarInfoFields&quot;&lt;/span&gt;&lt;span style=&quot;background: white; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt;&quot;&gt;, Namespace = &lt;/span&gt;&lt;span style=&quot;background: white; color: #a31515; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt;&quot;&gt;&quot;urn:carinfo-schema:CarInfoCollection&quot;&lt;/span&gt;&lt;span style=&quot;background: white; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt;&quot;&gt;)]&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;background: white; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;background: white; color: blue; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt;&quot;&gt;public&lt;/span&gt;&lt;span style=&quot;background: white; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;background: white; color: blue; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt;&quot;&gt;class&lt;/span&gt;&lt;span style=&quot;background: white; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;background: white; color: #2b91af; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt;&quot;&gt;CarInfoCollection&lt;/span&gt;&lt;span style=&quot;background: white; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;background: white; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;background: white; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [&lt;/span&gt;&lt;span style=&quot;background: white; color: #2b91af; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt;&quot;&gt;XmlElement&lt;/span&gt;&lt;span style=&quot;background: white; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;background: white; color: #a31515; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt;&quot;&gt;&quot;CarInfo&quot;&lt;/span&gt;&lt;span style=&quot;background: white; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt;&quot;&gt;)]&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;background: white; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;background: white; color: blue; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt;&quot;&gt;public&lt;/span&gt;&lt;span style=&quot;background: white; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;background: white; color: #2b91af; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt;&quot;&gt;CarInfo&lt;/span&gt;&lt;span style=&quot;background: white; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt;&quot;&gt;[] CarInfoFields { &lt;/span&gt;&lt;span style=&quot;background: white; color: blue; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt;&quot;&gt;get&lt;/span&gt;&lt;span style=&quot;background: white; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt;&quot;&gt;; &lt;/span&gt;&lt;span style=&quot;background: white; color: blue; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt;&quot;&gt;set&lt;/span&gt;&lt;span style=&quot;background: white; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt;&quot;&gt;; }&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;background: white; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;background: white; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [System.&lt;/span&gt;&lt;span style=&quot;background: white; color: #2b91af; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt;&quot;&gt;SerializableAttribute&lt;/span&gt;&lt;span style=&quot;background: white; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt;&quot;&gt;()]&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;background: white; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;background: white; color: blue; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt;&quot;&gt;public&lt;/span&gt;&lt;span style=&quot;background: white; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;background: white; color: blue; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt;&quot;&gt;class&lt;/span&gt;&lt;span style=&quot;background: white; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;background: white; color: #2b91af; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt;&quot;&gt;CarInfo&lt;/span&gt;&lt;span style=&quot;background: white; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;background: white; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;background: white; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [&lt;/span&gt;&lt;span style=&quot;background: white; color: #2b91af; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt;&quot;&gt;XmlAttribute&lt;/span&gt;&lt;span style=&quot;background: white; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt;&quot;&gt;]&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;background: white; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;background: white; color: blue; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt;&quot;&gt;public&lt;/span&gt;&lt;span style=&quot;background: white; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;background: white; color: #2b91af; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt;&quot;&gt;String&lt;/span&gt;&lt;span style=&quot;background: white; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt;&quot;&gt; Name { &lt;/span&gt;&lt;span style=&quot;background: white; color: blue; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt;&quot;&gt;get&lt;/span&gt;&lt;span style=&quot;background: white; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt;&quot;&gt;; &lt;/span&gt;&lt;span style=&quot;background: white; color: blue; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt;&quot;&gt;set&lt;/span&gt;&lt;span style=&quot;background: white; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt;&quot;&gt;; }&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;background: white; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [&lt;/span&gt;&lt;span style=&quot;background: white; color: #2b91af; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt;&quot;&gt;XmlAttribute&lt;/span&gt;&lt;span style=&quot;background: white; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt;&quot;&gt;]&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;background: white; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;background: white; color: blue; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt;&quot;&gt;public&lt;/span&gt;&lt;span style=&quot;background: white; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;background: white; color: #2b91af; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt;&quot;&gt;CarUsage&lt;/span&gt;&lt;span style=&quot;background: white; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt;&quot;&gt; Usage { &lt;/span&gt;&lt;span style=&quot;background: white; color: blue; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt;&quot;&gt;get&lt;/span&gt;&lt;span style=&quot;background: white; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt;&quot;&gt;; &lt;/span&gt;&lt;span style=&quot;background: white; color: blue; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt;&quot;&gt;set&lt;/span&gt;&lt;span style=&quot;background: white; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt;&quot;&gt;; }&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;background: white; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [&lt;/span&gt;&lt;span style=&quot;background: white; color: #2b91af; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt;&quot;&gt;XmlArray&lt;/span&gt;&lt;span style=&quot;background: white; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt;&quot;&gt;(ElementName = &lt;/span&gt;&lt;span style=&quot;background: white; color: #a31515; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt;&quot;&gt;&quot;Features&quot;&lt;/span&gt;&lt;span style=&quot;background: white; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt;&quot;&gt;, IsNullable = &lt;/span&gt;&lt;span style=&quot;background: white; color: blue; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt;&quot;&gt;true&lt;/span&gt;&lt;span style=&quot;background: white; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt;&quot;&gt;)]&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;background: white; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [&lt;/span&gt;&lt;span style=&quot;background: white; color: #2b91af; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt;&quot;&gt;XmlArrayItem&lt;/span&gt;&lt;span style=&quot;background: white; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt;&quot;&gt;(ElementName = &lt;/span&gt;&lt;span style=&quot;background: white; color: #a31515; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt;&quot;&gt;&quot;Feature&quot;&lt;/span&gt;&lt;span style=&quot;background: white; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt;&quot;&gt;, IsNullable = &lt;/span&gt;&lt;span style=&quot;background: white; color: blue; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt;&quot;&gt;true&lt;/span&gt;&lt;span style=&quot;background: white; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt;&quot;&gt;)]&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;background: white; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;background: white; color: blue; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt;&quot;&gt;public&lt;/span&gt;&lt;span style=&quot;background: white; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;background: white; color: #2b91af; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt;&quot;&gt;List&lt;/span&gt;&lt;span style=&quot;background: white; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;background: white; color: blue; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt;&quot;&gt;string&lt;/span&gt;&lt;span style=&quot;background: white; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt;&quot;&gt;&amp;gt; Features { &lt;/span&gt;&lt;span style=&quot;background: white; color: blue; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt;&quot;&gt;get&lt;/span&gt;&lt;span style=&quot;background: white; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt;&quot;&gt;; &lt;/span&gt;&lt;span style=&quot;background: white; color: blue; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt;&quot;&gt;set&lt;/span&gt;&lt;span style=&quot;background: white; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt;&quot;&gt;; }&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background: white; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt; line-height: 107%;&quot;&gt;







































&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background: white; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt; line-height: 107%;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt; line-height: 107%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background: white; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt; line-height: 107%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background: white; font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt; line-height: 107%;&quot;&gt;&lt;span style=&quot;line-height: 13.5533332824707px;&quot;&gt;----------------------------------------------------------------------------------------&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background: white; font-size: 9.5pt; line-height: 107%;&quot;&gt;&lt;span style=&quot;line-height: 13.5533332824707px;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background: white; line-height: 107%;&quot;&gt;&lt;span style=&quot;line-height: 13.5533332824707px;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;Xml string entered in textbox, examples&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background: white; line-height: 107%;&quot;&gt;&lt;span style=&quot;line-height: 13.5533332824707px;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; font-size: 9.0pt;&quot;&gt;&lt;carinfofields xmlns=&quot;urn:carinfo-schema:CarInfoCollection&quot;&gt;&lt;carinfo name=&quot;ABCD&quot; usage=&quot;Sports&quot;&gt;&lt;/carinfo&gt;&lt;/carinfofields&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; font-size: 9.0pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;carinfofields xmlns=&quot;urn:carinfo-schema:CarInfoCollection&quot;&gt;&lt;carinfo name=&quot;ABCD&quot; usage=&quot;Sports&quot;&gt;&lt;features&gt;&lt;/features&gt;&lt;/carinfo&gt;&lt;/carinfofields&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&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/AVvXsEhUuAPxog53qm60VuKQhdrh9hVgZMgy3vPArpBGATeUF74OFRmDUBgZ7zzTSgXawUt97k_1rERwFV34uR2qX9cSKCy1BIQhKv8mY-LigiQeDhAgxco8dGars_QtA4Mm8pipI3h18TtW3Q/s1600/myblog.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;251&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhUuAPxog53qm60VuKQhdrh9hVgZMgy3vPArpBGATeUF74OFRmDUBgZ7zzTSgXawUt97k_1rERwFV34uR2qX9cSKCy1BIQhKv8mY-LigiQeDhAgxco8dGars_QtA4Mm8pipI3h18TtW3Q/s1600/myblog.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace; font-size: x-small;&quot;&gt;&lt;span style=&quot;background: white; line-height: 107%;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;b&gt;&lt;i&gt;&lt;u&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Serialization Example&lt;/span&gt;&lt;/u&gt;&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;i&gt;&lt;u&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/u&gt;&lt;/i&gt;&lt;/b&gt;
&lt;b&gt;&lt;i&gt;&lt;u&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: medium;&quot;&gt;When we do not want xml declaration / omit xml declaration&lt;/span&gt;&lt;/u&gt;&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
OmitXmlDeclaration should be set to True while initializing XmlWriter. Sample :-&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&lt;span style=&quot;color: #990000; font-size: x-small;&quot;&gt;&amp;nbsp;public string SerializeToXML&lt;t&gt;(T typeToSerialize)&lt;/t&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #990000; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #990000; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; using (var sw = new StringWriter())&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #990000; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #990000; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; using (var xw = XmlWriter.Create(sw, new XmlWriterSettings {&lt;b style=&quot;background-color: yellow;&quot;&gt; OmitXmlDeclaration = true &lt;/b&gt;}))&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #990000; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #990000; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; var serializer = new XmlSerializer(typeof(T));&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #990000; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #990000;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;b&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;&lt;/span&gt; // below code will&amp;nbsp;omit&amp;nbsp;the namespace in serialized xml&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #990000; font-size: x-small;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; XmlSerializerNamespaces ns = new XmlSerializerNamespaces();&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #990000; font-size: x-small;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span style=&quot;background-color: yellow;&quot;&gt; ns.Add(&quot;&quot;, &quot;&quot;);&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #990000; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;b&gt; &amp;nbsp; serializer.Serialize(xw, typeToSerialize, ns, encodingStyle: string.Empty);&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #990000; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #990000; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return sw.ToString();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #990000; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #990000; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://pallavi-dhepe.blogspot.com/feeds/4346353547258319642/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pallavi-dhepe.blogspot.com/2015/04/good-deserialization-example-when-we.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3696000579209609335/posts/default/4346353547258319642'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3696000579209609335/posts/default/4346353547258319642'/><link rel='alternate' type='text/html' href='http://pallavi-dhepe.blogspot.com/2015/04/good-deserialization-example-when-we.html' title='Good serialization deserialization example in c# 4.0 (.Net 4.0)'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/08888515920132718629</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/AVvXsEhUuAPxog53qm60VuKQhdrh9hVgZMgy3vPArpBGATeUF74OFRmDUBgZ7zzTSgXawUt97k_1rERwFV34uR2qX9cSKCy1BIQhKv8mY-LigiQeDhAgxco8dGars_QtA4Mm8pipI3h18TtW3Q/s72-c/myblog.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3696000579209609335.post-2085439818076559662</id><published>2012-12-15T02:52:00.003-08:00</published><updated>2012-12-15T02:52:44.067-08:00</updated><title type='text'>.Net 4.5 Features, what is new?</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;li&gt;&lt;b&gt;Cross-Platform Development with the .NET Framework&lt;/b&gt;&lt;/li&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoSubtitle&quot;&gt;
&lt;br /&gt;
Portable class libraries on multiple platforms, such as Windows 7,
Windows 8, Silverlight, Windows Phone, and Xbox 360. When you create a
Portable Class Library project, you can choose two or more platforms you want
to target. Link: &lt;a href=&quot;http://msdn.microsoft.com/en-us/library/gg597391.aspx&quot;&gt;http://msdn.microsoft.com/en-us/library/gg597391.aspx&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;li&gt;&lt;b&gt;Asynchronous file operation&lt;/b&gt;&lt;/li&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
In the .NET Framework
4.5, new asynchronous features were added to the C# and Visual Basic languages.
These features add a task-based model for performing asynchronous operations.
To use this new model, use the asynchronous methods in the I/O classes.&amp;nbsp;&lt;div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;li&gt;perform resource-intensive I/O operations without blocking the main thread.&lt;/li&gt;
&lt;li&gt;async method contains Async in its name such asReadAsync, WriteAsync, CopyToAsync, FlushAsync, ReadLineAsync, and ReadToEndAsync. These async methods are implemented on stream classes, such as Stream,FileStream, and MemoryStream, and on classes that are used for reading from or writing to streams, such TextReader and TextWriter&lt;/li&gt;
&lt;li&gt;In th .NET Framework 4 and earlier versions, you have to use methods such as BeginRead and EndRead to implement asynchronous I/O operations. These methods are still available in the .NET Framework 4.5 to support legacy code; however, the async methods help you implement asynchronous I/O operations more easily.&lt;/li&gt;
&lt;li&gt;Keywords – async (mark method which contains async operaion) and await (applies to result of async operation)&lt;/li&gt;
&lt;br /&gt;

Ref URL : &lt;a href=&quot;http://msdn.microsoft.com/en-us/library/kztecsys.aspx&quot;&gt;http://msdn.microsoft.com/en-us/library/kztecsys.aspx&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;li&gt;&lt;b&gt;Web&lt;/b&gt;&lt;/li&gt;
- Support for reading and writing HTTP requests and responses asynchronously.&lt;br /&gt;
- Support for new HTML5 form types &lt;br /&gt;
- Support for asynchronous modules and handlers.&lt;br /&gt;
Ref URL : &lt;a href=&quot;http://msdn.microsoft.com/en-us/library/hh420390.aspx&quot;&gt;http://msdn.microsoft.com/en-us/library/hh420390.aspx&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;

&lt;br /&gt;
&lt;br /&gt;
&lt;li&gt;&lt;b&gt;Lots of WCF and WPF improvements&lt;/b&gt;&lt;/li&gt;
Ref URL : &lt;a href=&quot;http://msdn.microsoft.com/en-us/library/bb613588.aspx&quot;&gt;http://msdn.microsoft.com/en-us/library/bb613588.aspx&lt;/a&gt;
&lt;br /&gt;
Ref URL : &lt;a href=&quot;http://msdn.microsoft.com/en-us/library/bb613588.aspx&quot;&gt;http://msdn.microsoft.com/en-us/library/bb613588.aspx&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;li&gt;&lt;b&gt;CLR and Framework improvements&lt;/b&gt;&lt;/li&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
a. &amp;nbsp; &amp;nbsp;Ability to &lt;b&gt;reduce system restarts&lt;/b&gt; by detecting and closing .NET Framework 4 applications during deployment &lt;br /&gt;
b. &amp;nbsp; &amp;nbsp;&lt;b&gt;Support for arrays that are larger than 2 gigabytes&lt;/b&gt; (GB) on 64-bit platforms. This feature can be enabled in the application configuration file. Ref: &lt;gcallowverylargeobjects&gt; element &lt;br /&gt;
c. &amp;nbsp; &amp;nbsp;Better performance through &lt;b&gt;background garbage collection&lt;/b&gt; &lt;b&gt;for servers&lt;/b&gt;. &lt;br /&gt;
d. &amp;nbsp; &amp;nbsp;&lt;b&gt;ProfileOptimization &lt;/b&gt;- Background just-in-time (JIT) compilation, which is optionally available on multi-core processors to improve application performance. (Profile optimization requires a multicore computer. The methods are ignored on other computers.)
Each time you initiate profile optimization in an application domain, the profile that was created during the previous use is read. The information in the profile is used to guide background compilation by identifying the methods that are most likely to be executed during startup. On multicore computers, this increases the chances that a method is already compiled by the time it is needed so that the main application thread does not have to call the JIT compiler. &lt;br /&gt;
e. &amp;nbsp; &amp;nbsp;&lt;b&gt;Regex.MatchTimeout property&lt;/b&gt; - The MatchTimeout property defines the approximate maximum time interval for a Regex instance to execute a single matching operation before the operation times out.  &lt;br /&gt;
f. &amp;nbsp; &amp;nbsp;Ability to define the &lt;b&gt;default culture for an application domain&lt;/b&gt; &lt;br /&gt;
g. &amp;nbsp; &amp;nbsp;&lt;b&gt;Zip compression improvements&lt;/b&gt; to reduce the size of a compressed file. See the System.IO.Compression namespace. &lt;br /&gt;
h. &amp;nbsp; &amp;nbsp;&lt;b&gt;Type reflection support&lt;/b&gt; split between Type and TypeInfo classes  &lt;br /&gt;&lt;br /&gt;
&lt;/gcallowverylargeobjects&gt;&lt;/div&gt;
&lt;div&gt;
&lt;gcallowverylargeobjects&gt;URL: &lt;a href=&quot;http://msdn.microsoft.com/en-us/library/hh535795.aspx&quot;&gt;http://msdn.microsoft.com/en-us/library/hh535795.aspx&lt;/a&gt;&lt;/gcallowverylargeobjects&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;gcallowverylargeobjects&gt;

&lt;/gcallowverylargeobjects&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;li&gt;&lt;big&gt;&lt;b&gt;Improved Garbage Collection&lt;/b&gt;&lt;/big&gt;&lt;/li&gt;
&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;Background GC available to server application also in .Net 4.5&lt;/b&gt;&lt;br /&gt;
Before version 4, the .NET Framework provided a concurrent GC mode that performed full GCs concurrently with user code (vs. blocking, which pauses all user threads), thus reducing pause time for full GCs. &lt;br /&gt;&lt;br /&gt;
In the .NET Framework 4, Microsoft delivered an improved version called the background workstation garbage collection, which reduced latency but only benefited client apps. &lt;br /&gt;&lt;br /&gt;
In the .NET Framework 4.5, Microsoft have delivered background server garbage collection, which is typically used for server apps. As a result, all apps now have background GC available to them, regardless of which GC they use.&lt;br /&gt;
This results in much shorter pauses on server. 
&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;Higher throughput&lt;/b&gt;&lt;br /&gt;
For server GC, there’s one heap per logical processor.&lt;br /&gt;
When one of the heaps runs out of space for allocations, it triggers a GC. Usually, server apps have a pool of worker threads that perform similar types of tasks, and roughly the same amount of memory is allocated per thread, which results in naturally balanced managed heaps. If this is not the case, and one thread allocates a lot more memory than other threads, the heap that corresponds to its CPU runs out of space to allocate quickly and triggers a GC. GC has a “heap balancing” mechanism to help these apps.
&lt;br /&gt;&lt;br /&gt;
In the .NET Framework 4 and earlier versions, the small object heap (SOH) was balanced, but the large object heap (LOH) was not, so imbalanced LOH allocations in server GC would trigger more full GCs .
In the .NET Framework 4.5, the server GC allocator balances the allocations across the heaps when it finds that GC heaps, including both SOH and LOH, are not balanced. In apps that begin to develop imbalanced heaps, this mechanism eliminates unnecessary GCs. This reduces the total time spent in GC and improves the app throughput.
&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;GC support for latest hardware&lt;/b&gt;&lt;br /&gt;
Starting with Windows 7 and Windows Server 2008 R2, Windows supports more than 64 processors on a single computer. For machines that have very large numbers of processors (more than 64), the operating system splits the processors into multiple processor groups. In the .NET Framework 4.5, the GC can view CPUs across processor groups and takes all the cores into account when creating and balancing heaps.
&lt;br /&gt;&lt;br /&gt;
You’ll need to enable the &lt;gccpugroup&gt; element in your app’s configuration file to turn this behavior on. GC automatically detects and enables NUMA support. (NUMA – Non uniform memory access)
&lt;/gccpugroup&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;SustainedLowLatency &lt;/b&gt;&lt;br /&gt;
Stock market kind of application cannot tolerate pauses.&lt;br /&gt;&lt;br /&gt;
In the .NET Framework 4.5, Microsoft has provided the option by introducing SustainedLowLatency mode, which avoids full blocking GCs. This mode is also available for the workstation GC in the .NET Framework 4 via Update 4.0.3. While the SustainedLowLatency setting is in effect, generation 0, generation 1, and background generation 2 collections still occur and do not typically cause noticeable pause times.  blocking generation 2 collection happens only if the machine is low in memory or if the app induces a GC by calling GC.Collect(). &lt;br /&gt;&lt;br /&gt;
In the .NET Framework 4.5, SustainedLowLatency mode is available for both workstation and server GC. To turn it on, set the GCSettings.LatencyMode property to GCLatencyMode.SustainedLowLatency. The .NET Framework 4 includes aLowLatency mode for workstation GC; however, this setting is only intended to be used for short periods of time, whereasSustainedLowLatency mode is intended to be used for much longer.
&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;Applications work with large datasets where user objects &amp;gt; 2 GB&lt;/b&gt;&lt;br /&gt;
In earlier versions of the .NET Framework, the following lines of code throw OutOMemoryException exceptions due to the 2-GB limit on object sizes on the GC heap. In the .NET Framework 4.5, the code succeeds, assuming that there is enough physical memory available on the machine:&lt;br /&gt;&lt;br /&gt;
&lt;code&gt;
new Object[1000000000];     //(approximate size of this array 8 GB) &lt;br /&gt;
new int[50000,50000];       //(approximate size of this array is 10 GB)&lt;br /&gt;
new Dictionary(1000000000); //(approximate underlying array size is 24 GB)&lt;br /&gt;


&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;

Note that the array index is still a 32-bit number. By default, the .NET Framework does not support arrays that are greater than 2 GB, but in the .NET Framework 4.5, you can use the &lt;gcallowverylargeobjects&gt; element in your application configuration file to enable arrays that are greater than this size.
&lt;/gcallowverylargeobjects&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://pallavi-dhepe.blogspot.com/feeds/2085439818076559662/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pallavi-dhepe.blogspot.com/2012/12/net-45-features-what-is-new.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3696000579209609335/posts/default/2085439818076559662'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3696000579209609335/posts/default/2085439818076559662'/><link rel='alternate' type='text/html' href='http://pallavi-dhepe.blogspot.com/2012/12/net-45-features-what-is-new.html' title='.Net 4.5 Features, what is new?'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/08888515920132718629</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-3696000579209609335.post-7150965253596914805</id><published>2012-06-10T08:00:00.003-07:00</published><updated>2012-06-10T08:13:35.374-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="base class"/><category scheme="http://www.blogger.com/atom/ns#" term="child class"/><category scheme="http://www.blogger.com/atom/ns#" term="constructor"/><category scheme="http://www.blogger.com/atom/ns#" term="constructor with parameter"/><category scheme="http://www.blogger.com/atom/ns#" term="inheritance"/><category scheme="http://www.blogger.com/atom/ns#" term="inherited class"/><title type='text'>Playing with Constructors (c# 4.0) (Examples in VS 2010)</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;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: small;&quot;&gt;Constructors are class methods which executes when class object is created.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: small;&quot;&gt;Constructors can be marked as public, private, protected, internal, protected internal, static.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: small;&quot;&gt;Classes can have multiple constructors. If we do not specify constructor, c# will create default one.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;h2 style=&quot;text-align: left;&quot;&gt;




&lt;strong&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: large;&quot;&gt;Scenario 1: Inheritance and default constructors&lt;/span&gt;&lt;/strong&gt;&lt;/h2&gt;
When we inherit base class (Base1) in child class (Base2), and create an object of child class, it executes base class constructor first and child class constructor later. This helps that when child class constructor is executing, system makes sure that base class has already set properties or initializations and then child class can re-set those according to need. Refer below example for this:&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;color: #990000; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;class Base1&lt;br /&gt;{&lt;br /&gt;&amp;nbsp; &amp;nbsp; public Base1()&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; { &amp;nbsp;&amp;nbsp;Console.WriteLine(&quot;Base 1 .ctor called&quot;);&lt;br /&gt;&amp;nbsp; &amp;nbsp; }&lt;br /&gt;}&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #990000;&quot;&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; text-align: left;&quot;&gt;cl&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; text-align: left;&quot;&gt;ass Base2 : Base1&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;color: #990000; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #990000; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; public Base2()&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #990000;&quot;&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp;Console.WriteLine(&quot;Base 2 .ctor called&quot;);&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #990000; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; }&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #990000; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Actual call is&lt;br /&gt;
&lt;span style=&quot;color: #990000; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;Base2 base2Obj = new Base2();&amp;nbsp;&lt;/span&gt;or&lt;br /&gt;
&lt;span style=&quot;color: #990000; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;B&lt;/span&gt;&lt;span style=&quot;color: #990000; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;ase1 base1Obj = new Base2();&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Output is&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #990000; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;Base 1 .ctor called&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #990000; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;Base 2 .ctor called&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Even if you write base2 constructor as below, output will be the same as mentioned above.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #990000; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;public Base2() : base()&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #990000; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;{&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #990000; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Console.WriteLine(&quot;Base 2 .ctor called&quot;);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #990000; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;




&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Conclusion&lt;/span&gt;&lt;span style=&quot;color: #990000; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;:&lt;/span&gt;&lt;/h3&gt;
It always the base class costructor that &amp;nbsp;get called first. Derived class may not like the way that the base class has been initialized. It can change the initial value of data provided that it has access to do so.
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;


&lt;span style=&quot;font-size: large;&quot;&gt;

Scenario 2: Constructors with Parameters&lt;/span&gt;&lt;/h3&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #990000; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;class Base1&lt;br /&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #990000; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; private string _name;&lt;br /&gt;&amp;nbsp; &amp;nbsp; public Base1(string name)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; { &amp;nbsp;&amp;nbsp;Console.WriteLine(&quot;Base 1 .ctor called&quot;);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #990000; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; _name = name;&lt;br /&gt;&amp;nbsp; &amp;nbsp; }&lt;br /&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #990000;&quot;&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; text-align: left;&quot;&gt;cl&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; text-align: left;&quot;&gt;ass Base2 : Base1&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;color: #990000; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #990000; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; public Base2(string name): base(name)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #990000;&quot;&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp;Console.WriteLine(&quot;Base 2 .ctor called&quot;);&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #990000; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; }&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #990000; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #990000; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;In above example, base2 class constructor does not have access to private variable of base1 class. However by calling base class .ctor (constructor), it can initialize base class variables too.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Hence output is:&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;color: #990000; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;Base 1 .ctor called&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #990000; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;Base 2 .ctor called&lt;/span&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #990000; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;In above example, if Base2 .ctor is not calling base class constructor (:base(name) call),&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;then program generates compile time error that there is no constructor that takes 0 arguments in Base1 class. If child class is not calling parent class parameterized constructor explicitly then default constructor has to be present in parent class. Again it executes first and then of child class when you are creating child class object.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;


&lt;span style=&quot;font-size: large;&quot;&gt;Scenario 3: Static Constructor&lt;/span&gt;&lt;/h3&gt;
&lt;br /&gt;
If just &amp;nbsp;Base1 class is having static constructor, then whenever object of Base2 is created, it executes Base1 static constructor first before default Base1 .ctor and then default Base2 .ctor.&lt;br /&gt;
If Base1 and Base2 both are having static .ctor, then execution way is as below when Base2 object is created.&lt;br /&gt;
&lt;br /&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;Base 2 static .ctor&lt;/li&gt;
&lt;li&gt;Base 1 static .ctor&lt;/li&gt;
&lt;li&gt;Base1 default .ctor&lt;/li&gt;
&lt;li&gt;Base2 default .ctor&lt;/li&gt;
&lt;/ol&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;span style=&quot;color: #990000; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;class Base1&lt;br /&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #990000; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp;static Base1()&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #990000; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp;{&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #990000; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; //do something&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #990000; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp;}&lt;br /&gt;&amp;nbsp; &amp;nbsp; public Base1()&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; { &amp;nbsp;&amp;nbsp;Console.WriteLine(&quot;Base 1 .ctor called&quot;);&lt;br /&gt;&amp;nbsp; &amp;nbsp; }&lt;br /&gt;}&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #990000;&quot;&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; text-align: left;&quot;&gt;cl&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; text-align: left;&quot;&gt;ass Base2 : Base1&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;color: #990000; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #990000; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #990000; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;static Base2()&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #990000; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp;{&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #990000; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;//do something&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #990000; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #990000; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; public Base2()&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #990000;&quot;&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp;Console.WriteLine(&quot;Base 2 .ctor called&quot;);&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #990000; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; }&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #990000; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;As we know,&amp;nbsp;&amp;nbsp;A static constructor is used to initialize any&amp;nbsp;static&amp;nbsp;data, or to perform a particular action that needs to be performed once only. It&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&amp;nbsp;is called automatically before the first instance is created or any static members are referenced.&lt;/span&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;


&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: large;&quot;&gt;Scenario 4: Private constructor&lt;/span&gt;&lt;/h3&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;It is generally used in the classes that contains static members only. If class is just having one or more private constructor, other classes cannot create class&#39;s instance. Class needs to have other than private constructor to let other classes to create its instance.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;If class is not having static members and will contain private constructor then .net produces compile time error as, XYZ is inaccessible due to its protection level.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;


&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: large;&quot;&gt;Scenario 5: Writing a copy constructor&lt;/span&gt;&lt;/h3&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Unlike other languages, c# does not provide copy constructor facility. You need to write appropriate method to copy values from existing object.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;MSDN has very well explained how to write method to copy values of existing object to current new object.&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/ms173116&quot;&gt;http://msdn.microsoft.com/en-us/library/ms173116&lt;/a&gt;&lt;br /&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;


&lt;span style=&quot;font-size: large;&quot;&gt;

Good coding Practice&lt;/span&gt;&lt;/h3&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;Each constructor handles initialization of the variables that are obviously its responsibility. By following this, you can find that complex classes get initializes simply and code will be maintainable and readable.&lt;/li&gt;
&lt;/ol&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;


&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Link:&lt;/span&gt;&lt;/h3&gt;
MSDN :&amp;nbsp;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/ms173115(v=vs.100)&quot;&gt;http://msdn.microsoft.com/en-us/library/ms173115(v=vs.100)&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #990000; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pallavi-dhepe.blogspot.com/feeds/7150965253596914805/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pallavi-dhepe.blogspot.com/2012/06/playing-with-constructors-c-40-examples.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3696000579209609335/posts/default/7150965253596914805'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3696000579209609335/posts/default/7150965253596914805'/><link rel='alternate' type='text/html' href='http://pallavi-dhepe.blogspot.com/2012/06/playing-with-constructors-c-40-examples.html' title='Playing with Constructors (c# 4.0) (Examples in VS 2010)'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/08888515920132718629</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><georss:featurename>Pune, Maharashtra, India</georss:featurename><georss:point>18.5204303 73.8567437</georss:point><georss:box>18.3999798 73.6988152 18.6408808 74.014672199999993</georss:box></entry><entry><id>tag:blogger.com,1999:blog-3696000579209609335.post-5865784307449283304</id><published>2011-12-04T05:02:00.001-08:00</published><updated>2012-06-10T08:05:04.728-07:00</updated><title type='text'>Terminologies used in &quot;Full Text Search&quot;</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Recently I and my Friend Sonali has completed a white paper on full text search engines with detail case study on SQL Server 2008 full text search &amp;amp; Lucene.net
&lt;br /&gt;
&lt;br /&gt;
The important thing to understand in full text search is, being aware of various terminologies used in full text search process. In below paragraph I am going to explain in short about what is full text search and in later paragraphs various terminologies used in the process. 
&lt;br /&gt;
This information is collected from various websites, from msdn, apache lucene.net formal website etc&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Full Text Search&lt;/b&gt;
&lt;br /&gt;
In text retrieval, full text search refers to a technique for searching a computer-stored document or database. In a full text search, the search engine examines all of the words in every stored document as it tries to match search words supplied by the user.
&lt;br /&gt;
Full text search is often divided into two tasks: indexing and searching.
&lt;br /&gt;
The indexing stage will scan the text of all the documents and build a list of search terms, often called an index. 
&lt;br /&gt;
When a query arrives, either programmatically or as a result of a user request, the full-text engine accesses the sorted and optimized word index to identify which documents contain the requested term(s). The engine creates a list of documents that qualify, typically provided as a list of pointers into the main document index.
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;General terms used in full text search engines...&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;/b&gt;&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;br /&gt;
&lt;table border=&quot;1&quot;&gt;
&lt;tbody&gt;
&lt;tr&gt;
    &lt;td&gt;Crawling&lt;/td&gt;
    &lt;td&gt;full text population&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;Simple Term&lt;/td&gt;&lt;td&gt;One or more specific words or phrases are considered as simple terms. In full-text search, a word is considered to be a token. A token is identified by appropriate word breakers, following the linguistic rules of the specified language. A valid phrase can consist of multiple words, with or without punctuation between them.
&lt;br /&gt;
&lt;br /&gt;
For example, &quot;croissant&quot; is a word, and &quot;café au lait&quot; is a phrase. Words and phrases such as these are called simple terms.
    &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;
    &lt;td&gt;Prefix term&lt;/td&gt;
    &lt;td&gt;A word or a phrase where the words begin with specified text. Using a prefix term search with query like condition CONTAINS ( table.column, &#39; &quot;felso*&quot; &#39; ) yields a match for the word &quot;felsok&quot;. When conducting a prefix search, all entries in the column that contain text beginning with the specified prefix will be returned. For example, to search for all rows that contain the prefix top-, as in &lt;b&gt;top&lt;/b&gt;ple, &lt;b&gt;top&lt;/b&gt;ping, and &lt;b&gt;top&lt;/b&gt; itself, &lt;br /&gt;
the sql server full text search query looks like this:&lt;br /&gt;
&lt;table border=&quot;1&quot;&gt;
       &lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #cccccc; color: #4c1130;&quot;&gt;SELECT Description, ProductDescriptionID&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #cccccc; color: #4c1130;&quot;&gt;FROM Production.ProductDescription&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #cccccc; color: #4c1130;&quot;&gt;WHERE CONTAINS (Description, &#39; &quot;top*&quot; &#39; )&lt;/span&gt;;
       &lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;Generated term&lt;/td&gt;&lt;td&gt;Inflectional forms of a specific word. The inflectional forms are the different tenses of a verb or the singular and plural forms of a noun. For example, search for the inflectional form of the word &lt;i&gt;&quot;drive&quot;&lt;/i&gt;. If various rows in the table include the words &lt;i&gt;&quot;drive&quot;&lt;/i&gt;, &quot;&lt;i&gt;drives&quot;, &lt;/i&gt;&quot;drove&quot;, &lt;i&gt;&quot;driving&quot;&lt;/i&gt;, and &lt;i&gt;&quot;driven&quot;&lt;/i&gt;, all would be in the result set because each of these can be inflectionally generated from the word drive.
    &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;Proximity Term&lt;/td&gt;&lt;td&gt;A word or phrase close to another word or phrase. In text processing, a proximity search looks for documents where two or more separately matching term occurrences are within a specified distance, where distance is the number of intermediate words or characters. Proximity of the words in a document implies a relationship between the words.&lt;br /&gt;
&lt;br /&gt;
For example, a search could be used to find &quot;red brick house&quot;, and match phrases such as &quot;red house of brick&quot; or &quot;house made of red brick&quot;. By limiting the proximity, these phrases can be matched while avoiding documents where the words are scattered or spread across a page or in unrelated articles in an anthology.
&lt;br /&gt;
&lt;br /&gt;
One more example to understand proximity term is, suppose you want to find the rows in which the word &quot;ice&quot; is near to the word &quot;hockey&quot; or in which the phrase &quot;ice skating&quot; is near to the phrase &quot;ice hockey&quot;. Whether two terms or phrases are considered to be near to each other is calculated internally. Many data points are considered when calculating nearness.
&lt;br /&gt;
&lt;br /&gt;
Most internet search engines mostly implements implicit proximity search functionality. That is they automatically rank those search results higher where user keywords have a good “overall proximity score” in such results.    
    &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;Compound term processing&lt;/td&gt;&lt;td&gt;It is way to retrieve information where matching happens on the basis of compound terms. Compound terms are built by combining two (or more) simple terms, for example &quot;triple&quot; is a single word term but &quot;triple heart bypass&quot; is a compound term. 
&lt;br /&gt;
&lt;br /&gt;
Compound processing increases relevance of search results without missing anything important. By forming compound (i.e. multi-word) terms and placing these in the search engine&#39;s index the search can be performed with a higher degree of accuracy because the ambiguity inherent in single words is no longer a problem.
 &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;Concept search/conceptual search&lt;/td&gt;&lt;td&gt;It is automated information retrieval method that is used to search electronically stored unstructured text for the information that is conceptually similar to the information provided in a search query. (e.g. emails, digital achieves, scientific literature etc) Concept-based searching is becoming accepted as a reliable and efficient search method that is more likely to produce relevant results than keyword or Boolean searches. This search uses compound term processing.
 &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;Thesaurus&lt;/td&gt;&lt;td&gt;Thesaurus defines user-specified synonyms for terms. For example, if an entry, &quot;{car, automobile, truck, van}&quot;, is added to a thesaurus, you can search for the thesaurus form of the word &quot;car&quot;. All rows in the table queried that include the words &quot;automobile&quot;, &quot;truck&quot;, &quot;van&quot;, or &quot;car&quot;, appear in the result set because each of these words belong to the synonym expansion set containing the word &quot;car&quot;.
    &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;Weighted Term&lt;/td&gt;&lt;td&gt;A weighting value that indicates the degree of importance for each word and phrase within a set of words and phrases. For example, in a query searching for multiple terms, you can assign each search word a weight value indicating its importance relative to the other words in the search condition. The results for this type of query return the most relevant rows first, according to the relative weight you have assigned to search words. 
&lt;br /&gt;
&lt;br /&gt;
The result sets contain documents or rows containing any of the specified terms (or content between them); however, some results will be considered more relevant than others because of the variation in the weighted values associated with different searched terms.
    &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;Noise words&lt;/td&gt;&lt;td&gt;Large number of words which occurred very frequently and which were not helpful in resolving searches. Such words are referred to as noise words
    &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;Stemming&lt;/td&gt;&lt;td&gt;Stemming is the process of reducing inflected words to their root. For example, if you are looking for “developing”, probably you are also interested in the word “developed” or “develop” or “developer”. During the indexing phase, the stemming process normalizes all these inflected words to their root “develop”. And does the same when querying the index (if you search for “development” it will search for “develop”). Obviously this is tied to the language of the text. 
&lt;br /&gt;
&lt;br /&gt;
E.g. SnowballAnalyzer is analyzer of Lucene.net which tokenized text based on grammars and adds stemming phase at the end using snowball stemming language.
 &lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;
Lucene specific terminologies
&lt;/div&gt;
&lt;table border=&quot;1&quot;&gt;
&lt;tbody&gt;
&lt;tr&gt;
    &lt;td&gt;Directory&lt;/td&gt;
    &lt;td&gt;The directory is where Lucene indexes are stored: it can be a physical folder on the filesystem (FSDirectory) or an area in memory where files are stored (RAMDirectory). The index structure is compatible with all ports of Lucene, hence we could also have the indexing done with .NET and searched with Java, or the other way around.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
    &lt;td&gt;IndexWriter&lt;/td&gt;
    &lt;td&gt;This component is responsible for the management of the indexes. It creates indexes, adds documents to the index, and optimizes the index.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
    &lt;td&gt;Analyzer&lt;/td&gt;
    &lt;td&gt;Complexity of the indexing resides in this component. The analyzer contains the policy for extracting index terms from the text. There are several analyzers available both in the core library and in the contrib project of Lucene and the java version has even more analyzers that have not been ported to .net yet. 
&lt;br /&gt;
&lt;br /&gt;
StandardAnalyzer is mostly used in Lucene.net, which tokenizes the text based on European-language grammars, sets everything to lowercase and removes English stopwords.
&lt;br /&gt;
&lt;br /&gt;
SnowballAnalyzer is one more example of analyzer, which works exactly like the standard one, however adds one more step at the end: the stemming phase, using the Snowball stemming language.
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
    &lt;td&gt;Document and Fields&lt;/td&gt;
    &lt;td&gt;A document is a single entity that is put into the index. And it contains many fields which are, like in a database, the single different pieces of information that make a document.
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Fields:&lt;/b&gt;&lt;br /&gt;
Lucene documnet is unit of indexing and searching process. We add document to the index and after searching a text, we again get list of results in the form of document. A document is just unstructured collection of Fields. Fields are a hashtable having name and value. When we define Field while creating document, all parameters of fields are mentioned in constructor of it.
&lt;br /&gt;
&lt;br /&gt;
&lt;i style=&quot;background-color: #cccccc;&quot;&gt;new Lucene.Net.Documents.Field(
                &quot;bug_id&quot;,  
                Convert.ToString(bug_id), 
                Lucene.Net.Documents.Field.Store.YES,
                Lucene.Net.Documents.Field.Index.NOT_ANALYZED,                          Lucene.Net.Documents.Field.TermVector.YES);
&lt;/i&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
    &lt;td&gt;Boosting&lt;/td&gt;
    &lt;td&gt;With boosting Lucene means the ability to make something (a document, a field, a search term) be more important than the others. 
e.g. if we want matches on title of the post more than its content then we will set boost on title in this case.
&lt;br /&gt;
&lt;i style=&quot;background-color: #cccccc;&quot;&gt;
Field title = ...; &lt;br /&gt;
title.SetBoost(2.0f);
&lt;/i&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;
SQL Server full text search specific terminologies
&lt;/div&gt;
&lt;table border=&quot;1&quot;&gt;
&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;Full-text Catalog in SQL Server full text search engine&lt;/td&gt;
&lt;td&gt;A full-text catalog contains zero or more full-text indexes. Full-text catalogs must reside on a local hard drive associated with the instance of SQL Server. Each catalog can serve the indexing needs of one or more tables within a database. Full-text catalogs cannot be stored on removable drives, floppy disks, or network drives, except when you attached a read-only database that contains a full-text catalog.
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;Word Breaker &amp;amp; Stemmer used in SQL server full text search&lt;/td&gt;
&lt;td&gt;Word breakers and stemmers perform linguistic analysis on all full-text indexed data. Linguistic analysis involves finding word boundaries which are word breakers. For a given language, a word breaker tokenizes text based on the lexical rules of the language. Such analysis also involves conjugating verbs which is called stemmers. For a given language, a stemmer generates inflectional forms of a particular word based on the rules of that language. Both word breaker and stemmers are language specific.&lt;br /&gt;
&lt;br /&gt;
For the word breakers of the language they must be registered. To view a list of the languages whose word breakers are currently registered with SQL Server, the following Transact-SQL statement can be used:
&lt;br /&gt;
&lt;i style=&quot;background-color: #cccccc;&quot;&gt;
SELECT * FROM sys.fulltext_languages
&lt;/i&gt;&lt;br /&gt;
Several licensed third-party word breakers are shipped with SQL Server 2008. You can manually load additional third-party word breakers (and stemmers) for several languages (Danish, Polish, and Turkish). This information is provided in depth on msdn site at path: &lt;a href=&quot;http://msdn.microsoft.com/en-us/library/ms142509(v=SQL.105).aspx&quot;&gt;http://msdn.microsoft.com/en-us/library/ms142509(v=SQL.105).aspx&lt;/a&gt; 
&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Noise Words/Stopwords&lt;/td&gt;
&lt;td&gt;Such words are frequently occurring words that do not help the search. For example, for the English locale words such as &quot;a&quot;, &quot;and&quot;, &quot;is&quot;, and &quot;the&quot; are considered noise words. These words are ignored to prevent the full-text index from becoming bloated.Such noise words are also known as Stopwords. SQL Server 2005 noise words have been replaced by stopwords. In SQL server 2008.
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;StopLists&lt;/td&gt;
&lt;td&gt;Beginning in SQL Server 2008, a system stoplist is provided that contains a basic set stopwords/noise words. In short stopwords are managed in databases using objects called stoplists. A stoplist is a list of stopwords that, when associated with a full-text index, is applied to full-text queries on that index. &lt;br /&gt;
You can create/alter/drop stoplist just as below simple query. After creating stoplists, while creating/altering full text index on table, you can associate stoplists with it.&lt;br /&gt;
&lt;br /&gt;
&lt;i style=&quot;background-color: #cccccc;&quot;&gt;CREATE FULLTEXT STOPLIST myStoplist;&lt;/i&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pallavi-dhepe.blogspot.com/feeds/5865784307449283304/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pallavi-dhepe.blogspot.com/2011/12/terminologies-used-in-full-text-search.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3696000579209609335/posts/default/5865784307449283304'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3696000579209609335/posts/default/5865784307449283304'/><link rel='alternate' type='text/html' href='http://pallavi-dhepe.blogspot.com/2011/12/terminologies-used-in-full-text-search.html' title='Terminologies used in &quot;Full Text Search&quot;'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/08888515920132718629</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-3696000579209609335.post-7904780943778829692</id><published>2011-06-18T00:25:00.000-07:00</published><updated>2012-06-10T08:05:53.469-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Agile"/><category scheme="http://www.blogger.com/atom/ns#" term="methodology"/><category scheme="http://www.blogger.com/atom/ns#" term="Scrum"/><title type='text'>What is Scrum?</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
I always hear &#39;Scrum&#39; and &#39;Agile&#39; words in my project since my project is following Scrum methodology. I started working in Scrum project, when I was very new to these terminologies. After 3 years, now I realize the importance for Scrum over other software development methodologies. &lt;br /&gt;
&lt;br /&gt;
Below information I collected from few websites which defines above both things.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;Agile Methodology &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Agile methodology is an approach to project management, typically used in software development. It helps teams respond to the unpredictability of building software through incremental, iterative work cadences, known as sprints.&lt;br /&gt;
&lt;br /&gt;
Agile development methodology attempts to provide many opportunities to assess the direction of a project throughout the development lifecycle. This is achieved through regular cadences of work, known as sprints or iterations, at the end of which teams must present a shippable increment of work. Thus by focusing on the repetition of abbreviated work cycles as well as the functional product they yield, agile methodology could be described as “iterative” and “incremental&quot;&lt;br /&gt;
&lt;br /&gt;
Agile methodology emphasizes the communication ,collaboration ,rapid exchange of information , teamwork and what is very important the functioning software and flexibility.&lt;br /&gt;
&lt;br /&gt;
The results of “inspect-and-adapt” in this methodology to development greatly reduce both development costs and time to market. Because teams can gather requirements at the same time they’re gathering requirements, the phenomenon known as “analysis paralysis” can’t really impede a team from making progress. And because a team’s work cycle is limited to two weeks (or as defined), it gives stakeholders recurring opportunities to calibrate releases for success in the real world. &lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;Scrum Methodology&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Of all the agile methodologies, Scrum is unique because it introduced the idea of “empirical process control.” That is, Scrum uses the real-world progress of a project — not a best guess or uninformed forecast — to plan and schedule releases. In Scrum, projects are divided into succinct work cadences, known as sprints, which are typically one week, two weeks, or three weeks in duration. At the end of each sprint, stakeholders and team members meet to assess the progress of a project and plan its next steps. This allows a project’s direction to be adjusted or reoriented based on completed work, not speculation or predictions.&lt;br /&gt;
&lt;br /&gt;
It’s primary goal is after iteration, provide high business value. Scrum is based on two to four weeks (usually 30 days) iteration called as ‘&lt;span style=&quot;font-weight: bold;&quot;&gt;Sprint&lt;/span&gt;’.&lt;br /&gt;
A fundamental Scrum principal is that project teams should be self organizing. means that team members don&#39;t follow a prescriptive plan or set of tasks, but organize themselves initially based on the goals for the Sprint, and subsequently on a daily basis through daily scrum meetings. Recommended team size is from four to nine members.&lt;br /&gt;
&lt;br /&gt;
Every day at the same time, the project team meets to discuss the project. Members are expected to stand during the entire meeting to encourage short meetings. Meetings are targeted to complete in 10 to 15 minutes. Below is main agenda of that meeting:&lt;br /&gt;
1. What things I have done since the last meeting?&lt;br /&gt;
2. What is my next plan?&lt;br /&gt;
3. Do I have any difficulties while completing my next tasks or current tasks.&lt;br /&gt;
&lt;br /&gt;
Because of mentioned point 3, team can discuss on those issues and can help each other to achieve the goals that shows team work. &lt;br /&gt;
When multiple teams are involved in a project, a hierarchy of daily scrum meetings may occur, sometimes referred to as a &lt;span style=&quot;font-weight: bold;&quot;&gt;Scrum of Scrums.&lt;/span&gt;&lt;br /&gt;
Scrum uses the term &quot;backlog&quot; to refer to a list of items that are related. Three backlogs are defined by the Scrum process: &lt;span style=&quot;font-weight: bold;&quot;&gt;product backlog, release backlog, and sprint backlog.&lt;/span&gt; &lt;br /&gt;
&lt;br /&gt;
At the start of each Sprint, the project team breaks down items from the Release Backlog, starting at the top (most important), and adds these into the Sprint Backlog. Once enough items have been selected to fill the Sprint, the Sprint Backlog is locked. Estimates include total time to complete each item, including but not limited to analysis, design, coding, testing, documentation, etc.&lt;br /&gt;
&lt;br /&gt;
There is another item related to Backlogs that is key to Scrum. &lt;span style=&quot;font-weight: bold;&quot;&gt;The Burndown Chart&lt;/span&gt; is used to indicate the number of remaining Sprint Backlog items yet to be completed in the current Sprint. A daily record is maintained showing the team&#39;s progress in achieving the goal of the Sprint.&lt;br /&gt;
&lt;br /&gt;
At the end of a Sprint, the team meets to give demo to product management teams ans  any interested stakeholders to demonstrate what work has been completed, and to evaluate priorities for the next Sprint. In addition, any outstanding roadblocks are also discussed, as well as their impact and possible solutions.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;The Roles of Scrum&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Scrum has three fundamental roles: &lt;br /&gt;
1. Product Owner&lt;br /&gt;
2. ScrumMaster&lt;br /&gt;
3. team member&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-style: italic;&quot;&gt;Product Owner:&lt;/span&gt; &lt;br /&gt;
In Scrum, the Product Owner is responsible for communicating the vision of the product to the development team. He or she must also represent the customer’s interests through requirements and prioritization. Because the Product Owner has the most authority of the three roles, it’s also the role with the most responsibility. Product Owners must be available to answer questions from the team.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-style: italic;&quot;&gt;ScrumMaster: &lt;/span&gt;&lt;br /&gt;
The ScrumMaster acts as a media between the Product Owner and the team. The ScrumMaster does not manage the team. Instead, he or she works to remove any issues that are obstructing the team from achieving its sprint goals. In short, this role helps the team remain creative and productive, while making sure its successes are visible to the Product Owner. &lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-style: italic;&quot;&gt;Team Member: &lt;/span&gt;&lt;br /&gt;
In the Scrum methodology, the team is responsible for completing work. Ideally, teams consist of seven cross-functional members, plus or minus two individuals. For software projects, a typical team includes a mix of software engineers, architects, programmers, analysts, QA experts, testers, and UI designers. &lt;br /&gt;
Each sprint, the team is responsible for determining how it will accomplish the work to be completed. This grants teams a great deal of autonomy, but, similar to the Product Owner’s situation, that freedom is accompanied by a responsibility to meet the goals of the sprint.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;What are the benefits of the SCRUM methodology?&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
The benefits are on both sides. The client is happy because they received what they needed and expected. For developers the benefits of taking a part in Scrum methodology are more subjective – it might be his/her motivation and satisfaction of making the work done, in an efficient fashion.&lt;br /&gt;
&lt;br /&gt;
This is nice site to look for Scrum information.&lt;a href=&quot;http://www.scrummethodology.org/&quot;&gt;Site: www.scrummethodology.org&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;List of well known Agile techniques other than Scrum:-&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-style: italic;&quot;&gt;1. Extreme Programming (XP) :-&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Extreme Programming (XP) is one of the more well known Agile methodologies. It is a programmer-centric methodology that emphasizes technical practices to promote skillful development through frequent delivery of working software. Technical practices e.g. code reviews.&lt;br /&gt;
One of the characteristic distinctions between XP and other methodologies is its cycle time and level of service. XP recommends very short iterations between one and four weeks. XP is also a very low service methodology. Minimal artifacts in an XP project include story cards, code, and unit tests.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-style: italic;&quot;&gt;2. Lean Software Development :-&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Lean is a methodology that aims to trim the fat from the software process, starting with requirements, and including how business looks at the systems they request. Lean is similar to Scrum in that it focuses much more on the project management aspects of software development rather than the technical ones, specifically targeting the cost and ROI attributes of a project. Lean pays a good deal of attention to gathering the &quot;right&quot; requirements. Requirements are measured based on their impact to the business, and must be defined in clear, complete, and verifiable ways. Incomplete, missing, wrong, unverifiable, and conflicting requirements are filtered out during the requirement process.&lt;br /&gt;
Due to this focus on requirements, the Customer plays an absolutely vital role in the Lean process. Based on a wealth of quantitative metrics, Lean realizes that many projects fail due to their configuration and management. Projects with a silo&#39;d, isolated, or &quot;not my problem&quot; attitude will face swift changes when Lean steps in. Lean attempts to also address resource issues such as the team not having the right skill sets, not enough team members, or too much turnover. In this sense Lean is very &quot;root cause&quot;-oriented.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-style: italic;&quot;&gt;3. Feature Driven Development (FDD) :-&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
The center of FDD is domain model. Creating domain model is foundation step for FDD, which requires collecting domain knowledge from all domain experts. A small set of features are identified for a team to work on for a period of time recommended to last no more than two weeks. Once the initial set of features is delivered, another set is tackled. Multiple teams can work in parallel on different sets of features, with all activity being tracked on a per feature basis.&lt;br /&gt;
&lt;br /&gt;
You can find more about this at link &lt;a href=&quot;http://www.devx.com/architect/Article/32761/1954&quot;&gt;devx&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-style: italic;&quot;&gt;One final note is that since Scrum focuses on the project management aspects of a project and specifies no technical practices, it integrates well with other Agile methodologies. It is commonly combined with XP, but will work with other approaches as well.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;iframe &lt;br=&quot;&quot; src=&quot;https://www.facebook.com/plugins/like.php?href=http://www.facebook.com/pallavi.dhepe&quot;&gt;&amp;amp;lt;p&amp;amp;gt;scrolling=&quot;no&quot; frameborder=&quot;0&quot;&amp;amp;amp;amp;lt;br /&amp;amp;amp;amp;gt;        style=&quot;border:none; width:450px; height:80px&quot;&amp;amp;amp;amp;gt;&amp;amp;lt;/p&amp;amp;gt;&lt;/iframe&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://pallavi-dhepe.blogspot.com/feeds/7904780943778829692/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pallavi-dhepe.blogspot.com/2011/06/what-is-scrum.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3696000579209609335/posts/default/7904780943778829692'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3696000579209609335/posts/default/7904780943778829692'/><link rel='alternate' type='text/html' href='http://pallavi-dhepe.blogspot.com/2011/06/what-is-scrum.html' title='What is Scrum?'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/08888515920132718629</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry></feed>