<?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-8672239585245430939</id><updated>2024-08-28T19:56:39.086-07:00</updated><category term="3-tier development"/><category term="Beginning c#.net"/><category term="G-Nigeria 2011"/><category term="Zuckerberg"/><title type='text'>Welcome to my blog</title><subtitle type='html'>.NET,personal opinions, open sourcing my projects and experiences.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://samuelchand.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8672239585245430939/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://samuelchand.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>camelot7</name><uri>http://www.blogger.com/profile/01930465395851184442</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>6</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-8672239585245430939.post-6439276873841310066</id><published>2011-05-03T15:39:00.001-07:00</published><updated>2011-05-04T00:42:34.429-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="G-Nigeria 2011"/><title type='text'>G-Nigeria 2011</title><content type='html'>The event was classed as one of the best of all tech-related events. Featuring software engineers from Google and a host of others,lots of information was exchanged.Topics that were treated included Google AppEngine, Chrome app development, Android development, Css3,Html5,Java and Python training,and lots more.The event concluded with an award presentation for a little contest held at the venue upon which 2 android phones were given out to the winners. I was privileged to meet with professionals from the industry during the tea break sessions. We talked some about the direction the industry is taking what our plans are for the future. They were glad to share some of their experiences and projects that they&#39;ve been working.We exchanged phone numbers and email addresses.i also met some people who play chess also whom i&#39;m going to visit one of this weekends.The evemt was worth every dime and time.It was indeed a gathering of geeks!</content><link rel='replies' type='application/atom+xml' href='http://samuelchand.blogspot.com/feeds/6439276873841310066/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://samuelchand.blogspot.com/2011/05/g-nigeria-2011.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8672239585245430939/posts/default/6439276873841310066'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8672239585245430939/posts/default/6439276873841310066'/><link rel='alternate' type='text/html' href='http://samuelchand.blogspot.com/2011/05/g-nigeria-2011.html' title='G-Nigeria 2011'/><author><name>camelot7</name><uri>http://www.blogger.com/profile/01930465395851184442</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-8672239585245430939.post-1907260717956495487</id><published>2011-02-19T15:14:00.001-08:00</published><updated>2011-02-19T15:14:24.937-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Beginning c#.net"/><title type='text'>Beginning csharp.net</title><content type='html'>The truth is that c#(pronounced csharp) happens to be the easiest programming language to learn programming.It provides you with so much power in form of class libraries which in turn serve as APIs for accessing almost any feature on windows.</content><link rel='replies' type='application/atom+xml' href='http://samuelchand.blogspot.com/feeds/1907260717956495487/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://samuelchand.blogspot.com/2011/02/beginning-csharpnet.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8672239585245430939/posts/default/1907260717956495487'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8672239585245430939/posts/default/1907260717956495487'/><link rel='alternate' type='text/html' href='http://samuelchand.blogspot.com/2011/02/beginning-csharpnet.html' title='Beginning csharp.net'/><author><name>camelot7</name><uri>http://www.blogger.com/profile/01930465395851184442</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-8672239585245430939.post-6716169347439657204</id><published>2011-02-06T03:25:00.001-08:00</published><updated>2011-02-06T03:25:13.811-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Zuckerberg"/><title type='text'>Yet another project</title><content type='html'></content><link rel='replies' type='application/atom+xml' href='http://samuelchand.blogspot.com/feeds/6716169347439657204/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://samuelchand.blogspot.com/2011/02/yet-another-project.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8672239585245430939/posts/default/6716169347439657204'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8672239585245430939/posts/default/6716169347439657204'/><link rel='alternate' type='text/html' href='http://samuelchand.blogspot.com/2011/02/yet-another-project.html' title='Yet another project'/><author><name>camelot7</name><uri>http://www.blogger.com/profile/01930465395851184442</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-8672239585245430939.post-1727936285615818420</id><published>2011-01-28T17:13:00.000-08:00</published><updated>2011-01-28T17:13:57.967-08:00</updated><title type='text'>Wpf</title><content type='html'>i&#39;m currently working on a wpf media player that uses artificial intelligence to play tracksthe user plays the most and detecting the user&#39;s taste of music.It will have the following features;&lt;br /&gt;
1.a collection of themes/skin&lt;br /&gt;
2.unlimited formats support.&lt;br /&gt;
3.support for user playlist generation-audio,video and images&lt;br /&gt;
4.automatic updates when an internet connection</content><link rel='replies' type='application/atom+xml' href='http://samuelchand.blogspot.com/feeds/1727936285615818420/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://samuelchand.blogspot.com/2011/01/wpf.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8672239585245430939/posts/default/1727936285615818420'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8672239585245430939/posts/default/1727936285615818420'/><link rel='alternate' type='text/html' href='http://samuelchand.blogspot.com/2011/01/wpf.html' title='Wpf'/><author><name>camelot7</name><uri>http://www.blogger.com/profile/01930465395851184442</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-8672239585245430939.post-7646139939971923763</id><published>2010-12-15T04:59:00.000-08:00</published><updated>2011-02-06T03:40:32.945-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="3-tier development"/><title type='text'>codes for a Quizzer I Created</title><content type='html'>using System;&lt;br /&gt;
using System.Collections.Generic;&lt;br /&gt;
using System.Linq;&lt;br /&gt;
using System.Text;&lt;br /&gt;
using System.Windows;&lt;br /&gt;
using System.Windows.Controls;&lt;br /&gt;
using System.Windows.Data;&lt;br /&gt;
using System.Windows.Documents;&lt;br /&gt;
using System.Windows.Input;&lt;br /&gt;
using System.Windows.Media;&lt;br /&gt;
using System.Windows.Media.Imaging;&lt;br /&gt;
using System.Windows.Navigation;&lt;br /&gt;
using System.Windows.Shapes;&lt;br /&gt;
using IqTest;&lt;br /&gt;
&lt;br /&gt;
namespace IqTest&lt;br /&gt;
{&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;/// &amp;lt;summary&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;/// Interaction logic for MainWindow.xaml&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;/// &amp;lt;/summary&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;public partial class MainWindow : Window&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;BusinessLogicLayer bl = new BusinessLogicLayer();&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;string selectedText;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;DateTime ticks = DateTime.Now;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;public MainWindow()&lt;br /&gt;
&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;InitializeComponent();&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;textBlock1.Text = bl.ShowQuestions();&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;submitButton.IsEnabled = false;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;radioButton1.Checked += submitButton_Check;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;radioButton2.Checked += submitButton_Check;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;System.Windows.Forms.Timer t = new System.Windows.Forms.Timer();&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;t.Start();&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;t.Interval = 1000;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;t.Tick += new EventHandler(t_Tick);&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;}&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;void t_Tick(object sender, EventArgs e)&lt;br /&gt;
&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; ticks=ticks.AddSeconds(1);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; txtTime.Text = ticks.ToLongTimeString();&lt;br /&gt;
&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;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;private void button2_Click(object sender, RoutedEventArgs e)&lt;br /&gt;
&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;MessageBox.Show(&quot;Your Quiz Score is &quot;+bl.correctAnswers.ToString(),&quot;&quot;,MessageBoxButton.OK,MessageBoxImage.Information);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Close();&lt;br /&gt;
&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;private void submitButton_Click(object sender, RoutedEventArgs e)&lt;br /&gt;
&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; &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;if (radioButton1.IsChecked==true)&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; &amp;nbsp; &amp;nbsp;selectedText = &quot;A&quot;;&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;else if (radioButton2.IsChecked == true)&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; &amp;nbsp; &amp;nbsp;selectedText = &quot;B&quot;;&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;if (bl.ShowAnswers() == selectedText)&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; &amp;nbsp; &amp;nbsp;bl.Increment();&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;textBlock1.Text = bl.ShowQuestions();&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; &lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;void submitButton_Check(object sender, RoutedEventArgs e)&lt;br /&gt;
&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;submitButton.IsEnabled = true;&lt;br /&gt;
&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;&amp;nbsp; &amp;nbsp;}&lt;br /&gt;
}&lt;br /&gt;
&lt;div&gt;&lt;div&gt;using System;&lt;/div&gt;&lt;div&gt;using System.Collections.Generic;&lt;/div&gt;&lt;div&gt;using System.Linq;&lt;/div&gt;&lt;div&gt;using System.Text;&lt;/div&gt;&lt;div&gt;using IqTest;&lt;/div&gt;&lt;div&gt;using System.Data.SqlClient;&lt;/div&gt;&lt;div&gt;using System.Data;&lt;/div&gt;&lt;div&gt;using System.Configuration;&lt;/div&gt;&lt;div&gt;using System.Data.Linq;&lt;/div&gt;&lt;div&gt;using System.Windows;&lt;/div&gt;&lt;div&gt;using System.Xaml;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;namespace IqTest&lt;/div&gt;&lt;div&gt;{&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;class DataAccessLayer&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;public string GetQuestions()&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;IQTestDataContext dc = new IQTestDataContext();&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;var value = dc.ExecuteQuery&amp;lt;string&amp;gt;(@&quot;SELECT TOP 1 Questions FROM QUSETIONS ORDER BY NewID()&quot;);&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;string question = value.FirstOrDefault&amp;lt;string&amp;gt;();&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return question;&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;public string GetAnswers()&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;IQTestDataContext dd = new IQTestDataContext();&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;string answer = &quot;&quot;;&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;var value = dd.ExecuteQuery&amp;lt;string&amp;gt;(@&quot;SELECT TOP 1 Answers FROM QUSETIONS&quot;);&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;answer = value.FirstOrDefault&amp;lt;string&amp;gt;();&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return answer;&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;/div&gt;&lt;div&gt;}&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;using System;&lt;/div&gt;&lt;div&gt;using System.Collections.Generic;&lt;/div&gt;&lt;div&gt;using System.Linq;&lt;/div&gt;&lt;div&gt;using System.Text;&lt;/div&gt;&lt;div&gt;using System.Data;&lt;/div&gt;&lt;div&gt;using System.Data.Linq;&lt;/div&gt;&lt;div&gt;using System.Data.SqlClient;&lt;/div&gt;&lt;div&gt;using IqTest;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;namespace IqTest&lt;/div&gt;&lt;div&gt;{&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;class BusinessLogicLayer&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;DataAccessLayer da = new DataAccessLayer();&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; public int correctAnswers;&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;public string ShowQuestions()&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return da.GetQuestions();&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;public string ShowAnswers()&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return da.GetAnswers();&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;public int Increment()&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return correctAnswers++;&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;public int ComputeIQ(int correctAnswers)&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return (correctAnswers / 15) * 200;&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;/div&gt;&lt;div&gt;}&lt;/div&gt;&lt;/div&gt;&lt;div&gt;//The code has a database file which you can create yourself with columns: Id,Questions,Answers.&lt;/div&gt;&lt;div&gt;//include a linq to sql class and use the given datasets.&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://samuelchand.blogspot.com/feeds/7646139939971923763/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://samuelchand.blogspot.com/2010/12/codes-for-quizzer-i-created.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8672239585245430939/posts/default/7646139939971923763'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8672239585245430939/posts/default/7646139939971923763'/><link rel='alternate' type='text/html' href='http://samuelchand.blogspot.com/2010/12/codes-for-quizzer-i-created.html' title='codes for a Quizzer I Created'/><author><name>camelot7</name><uri>http://www.blogger.com/profile/01930465395851184442</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-8672239585245430939.post-8353966028595186929</id><published>2010-11-26T09:58:00.000-08:00</published><updated>2010-11-26T09:58:50.022-08:00</updated><title type='text'>First code</title><content type='html'>using System;&lt;br /&gt;
namespace firstcodes&lt;br /&gt;
{&lt;br /&gt;
public class Program&lt;br /&gt;
{&lt;br /&gt;
public static void Main(0&lt;br /&gt;
{&lt;br /&gt;
Console.WriteLine( &quot;The first C# code I Wrote 3 years ago!!!&quot;);&lt;br /&gt;
}&lt;br /&gt;
}&lt;br /&gt;
}</content><link rel='replies' type='application/atom+xml' href='http://samuelchand.blogspot.com/feeds/8353966028595186929/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://samuelchand.blogspot.com/2010/11/first-code.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8672239585245430939/posts/default/8353966028595186929'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8672239585245430939/posts/default/8353966028595186929'/><link rel='alternate' type='text/html' href='http://samuelchand.blogspot.com/2010/11/first-code.html' title='First code'/><author><name>camelot7</name><uri>http://www.blogger.com/profile/01930465395851184442</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>