Showing posts with label HOW TO. Show all posts
Showing posts with label HOW TO. Show all posts

Monday, January 21, 2019

How to Create Console Assemblies

Console applications are the kind of executables that you would use to create a command line utility. The command line utility could be dir or xcopy. Actually many ad-hoc C# projects are console applications. The C# source code shown in Figure 1 will calculate how many rabbits you get after a certain number of generations (assuming ideal circumstances, of course).

Figure 1 above is an example of a console application. If you build this application you can run it from the command line, and pass it an argument indicating the number of generations you would like to calculate.
Building a Console Application File
To build this file using the command line compiler you would use the following command.
C:\>csc Rabbit.cs
You will notice that it is not necessary to use the /Target switch like it was when we built the source code. This is because the default assembly built by the C# compiler is a console executable.This is how you build a console application; simple stuff!
However, the Rabbits.cs sample also shows some interesting things about C# in general, so we will highlight them hereLike our last application, Rabbits.cs defines a class (arbitrarily named App) which defines an entry point function named Main().
The Main() method in Rabbits.cs does something a little different by taking a parameter defined as an array of String objects. These are the command line arguments passed to the program.
Rabbits.cs uses structured exception handling to handle errors. This is the try-catch code block that surrounds the bulk of the application. You will notice from this sample that C# uses C syntax for its loop constructs. The while loop syntax in Rabbits.cs, is exactly what it would be in C, C++, or Java.
The sample code in Figure 1 uses the static WriteLine() method of the Console type defined in the Framework Class Library to output text to the console window. Notice that an instance of the Console type was not necessary to call the method. This is because WriteLine() is defined as a static method.
This sample uses a numeric type called Decimal which allows us to calculate many more generations than we would be able to do with a 32-bit integer value. The Decimal type is well suited for financial and scientific applications.
Rabbits.cs is an iterative Fibonacci calculator. Its’ written this way just for fun. There is nothing about C# that would prohibit you from implementing this algorithm using recursion.
Building and Running a Console Application
1. The source code in Figure 1 Rabbits.cs is a console Fibonacci number generator written in C#.
2. Type in or copy the source code and save it in a .cs file.
3. Compile the source code using the command line compiler.
a. Hint: The line that you would use to compile this application is as follows.
c:\>csc Rabbit.cs
4. Run the new executable.
In this treatise, we learnt that Console applications are the kind of executables that you would use to create a command line utility. The command line utility could be dir or xcopy. We equally identified the steps required to build and run a console application. We have considered the concept of console application, the types of command line utility and a classic example of a console application. We equally identified the steps required to build and run a console application.
  • Microsoft. September 4, 2003."Visual Standard" (JPEG).
  • Microsoft (June 18, 2009) C# Language Reference.
    10.O' Reilly. (2002).C# Language Pocket Reference. ISBN 0-596-00429-X.
  • Petzold, Charles (2002). Programming Microsoft Windows with C#. Microsoft Press. ISBN 0-7356-1370-2.
  • Steinman, Justin (November 7, 2006). "Novell Answers Questions from the Community".
  • Stallman, Richard (June 26, 2009). "Why free software shouldn't depend on Mono or C#".
  • Simon, Raphael; Stapf, Emmanuel; Meyer, Bertrand (June 2002). "Full Eiffel on the .NET Framework".
  • "The ECMA C# and CLI Standards". 2009-07-06
  • Archer, Tom (2001). Inside C#. Microsoft Press. ISBN 0-7356-1288-9.
  • Cornelius, Barry (December 1, 2005). "Java 5 catches up with C#". University of Oxford Computing Services.
  • Ecma International. June 2006.C# Language Specification (4th ed.).
    Guthrie, Scott (November 28, 2006). "What language was ASP.Net originally written in?"
  • Hamilton, Naomi (October 1, 2008). "The A-Z of Programming Languages: C#". Computerworld.
  • Horton, Anson (2006-09-11). "C# XML documentation comments FAQ".
  • Kovacs, James (September 07, 2007). "C#/.NET History Lesson".

Thursday, January 10, 2019

Procedures for 2019 UTME

There are few documents requirements and they include:
  • Personal e-mail address and mobile phone number  
  • Create your JAMB profile.
  • JAMB ePIN registration payment

Visit any accredited CBT centers with your personal details, the profile and evidence of payment. The CBT centers or JAMB State Office, supplies, at no extra cost, the prescribed reading text and the CD containing:

  • e-brochure showing guidelines on admission detailing list of tertiary institutions and available programmes of study
  • Syllabus (e-syllabus) for the examination.  
  • Step by step guide on completion of the application form.  
  • A video messages from the Registrar of JAMB and a demo on how to use eight (8) keys for UTME examination without mouse. (For candidates with little familiarity with Computers).  
Each Candidate is to complete the online application form by supplying the required details such as name, e-mail address, L.G.A., academic qualification, etc. At the CBT centers, Candidate’s ten fingers biometric and image will be captured and uploaded.  
O/L and/or A/L grades are to be provided by candidates. Candidates who are awaiting result should supply the result online as soon as the results are available on JAMB’s portal. Each Candidate is to collect his e-slip at the end of registration as evidence of registration.

The Joint Admissions and Matriculation Board (JAMB) commenced sale of registration forms, for the 2019 Unified Tertiary Matriculation Examination, has started. Sale of forms will last for six weeks.

Tuesday, January 01, 2019

How To Create A Blog On Blogspot

To own a blog on blogspot is very simple. To begin with ,what is a blog? A blog is a blend of the term “Web log.” It is a type of Website or part of a Website. Many blogs provide commentary or news on a particular subject; others function as more personal online diaries.

A typical blog combines text, images, and links to other blogs, Web pages, and other media related to its topic. The ability of readers to leave comments in an interactive format is an important part of many blogs. Most blogs are primarily textual, although some focus on art (art blog), photographs (photoblog), videos (video blogging), music (MP3 blog), and audio (podcasting).

Microblogging is another type of blogging, featuring very short posts. Most blogs are interactive, allowing visitors to leave comments and even communicate with each other via widgets on the blogs. This interactivity distinguishes them from other static websites. Entries are commonly displayed in reverse-chronological order. Many blogs are hosted at blog communities such as blogspot

Now, how can you create your own blog on blogspot? Follow these steps;
1.You must have a google account. To start with you must have a gmail account. This is the only platform you can generate your  blog. You can register or login [ Gmail ]

2. After you have signed in or registered your  [ Gmail ] account, go to Blogspot. On the Blogspot homepage click on create your own blog.

3. Then fill in the account creation form on page such as title , description,  theme , etc ,

4 Click on Create Blog

Now,  your blog is ready. You can create your first post on New Post Menu after you have successfully created your account!

Wednesday, December 19, 2018

Tips to Enhance Confidence at Business Meetings

Are you a  boss, manager or leading team in an organization ? You need to speak confidently during general meeting with the member of the organization.  Here six tips to enhance your confidence level in business meetings;

1.Give a shout-out to yourself :- Giving a shout-out to yourself probably the most influential thing that you can do for your own self, so shout-out to you for all that little and big accomplishments you made so far, it will enhance your inner confidence and you will be able to buckle yourself for further aims and goals.

2.Polish your plus points and stand out-class :- Everyone knows his merits and demerits, by polishing your merits you can do wonders, so list up all your merits and from now on start working for refining them. By doing this you will see a noticeable change in you, you will feel confident and energetic because that will be the real you!

3.Best suit and tucker show :-Your appearance matters a lot, when you wear your desired raiment that you know is liked and will be liked by everyone will automatically add up a confidence in you. You feel and notice a great change in you. If you don’t believe it then just give it a try, take out your best suit and tucker and wear it.

Take a walk to your mirror and meet a smart cookie standing right in front of your eye. In any gathering, either formal or informal when you become the part of it by your excellence appearance then before it gets noticed by anyone else you will be the first one who will notice that the way you will walk around will let you know how confident you are feeling. So, your appearance is one of the ingredient that garnish your personality by adding and enhancing confidence in you.
4. Display a grin at your face :- Smile is a beautiful gesture and when you pass a smile its not just you who looks beautiful rather your surroundings also seem amazing.

People don’t like dead-pan faces, a face with a grin is loved by all. Smile leaves a ripple effect, it pleases others and this boost up your confidence that you are liked because you don’t wear a poker face.

5.Always lend a helping hand :- The person who lends a helping hand to others is the gentlest soul and he is the one who gathers so much well wishes and prayers from others because of his act of kindness.

The love and appreciation from others boost up his inner pride and confidence. So, be that gentle soul who offers his kindness to others and make yourself proud.

6.Spend time with the things that please you :- Whenever you feel yourself doldrums and wants to recharge your self then all you need to do is to spend time with the things that please you, such as watch your favorite movie, make yourself a cup of coffee and read a nice novel, call your bestie and hangout with him.

By doing this you will feel delighted, the moment you will please yourself will enable you to perform others tasks efficiently and confidently. Wish you success in all endeavors!

Tuesday, December 18, 2018


Slides can be added to your blogger blogs. Slides make your blog look elegantly and captivating. It is pretty simple to add already created slide to your blog. Here the three steps to create slide on blogspot. Follow the steps below;

1.Log in to blogspot account  [ Blogger ]
2. Locate theme editor on your blog just on first page after you sign in  or just do this by adding a HTML/Javascript widget on the layout setting.
3. Paste this slide code to your widget ;

   Blogger Slideshow Widget by
   org. by
<!--  Camera_Slideshow Styles  -->
<link rel="stylesheet" id="camera-css" href="" type="text/css" media="all" />
<!-- Camera Slideshow Scripts -->
<script type='text/javascript' src=''></script>
<script type='text/javascript' src=''></script>
<script type='text/javascript' src=''></script>
<script type='text/javascript' src=''></script>
<script type='text/javascript'>
jQuery(function() {
       time: 2500, // milliseconds between the end of the sliding effect and the start of the nex one
       transPeriod: 1200, // length of the sliding effect in milliseconds
       thumbnails: false, // thumnails & tooltip is controlled by it
       pagination: true, // only when "pagination" is set to "false" thumbnails will be visible
       fx: 'curtainTopLeft, curtainTopRight, curtainBottomLeft, curtainBottomRight, curtainSliceLeft, curtainSliceRight, blindCurtainTopLeft, blindCurtainTopRight, blindCurtainBottomLeft, blindCurtainBottomRight, blindCurtainSliceBottom, blindCurtainSliceTop, stampede, mosaic, mosaicReverse, mosaicRandom, mosaicSpiral, mosaicSpiralReverse, topLeftBottomRight, bottomRightTopLeft, bottomLeftTopRight, bottomLeftTopRight, scrollLeft, scrollRight, scrollHorz, scrollBottom, scrollTop', // transition effects
       hover: false, // Pause on hover
       height: '50%' // slideshow height (50% is default)
<style type="text/css">
.fluid_container {
   margin: 0 auto;
   /* aling centered */
   width: 500%;
   max-width: 1000px;
   overflow: hidden;

/* Blogger CSS Conflict Fix */

.camera_pag_ul {
   border: none !important;
   background: none !important;

.camera_pag_ul li {
   float: inherit !important;
   padding: inherit !important;

.camera_pag_ul {
   margin: 0 !important;
   border: 0 !important;
<div class="fluid_container">
   <!-- camera_slideshow camera_wrap-->
   <div class="camera_wrap" id="camera_wrap_1">
       <div data-link="" data-thumb="" data-src="">
           <div class="camera_caption fadeFromBottom">
              The day you allow your feelings determine your prayer you have decided to become a leaf tossed and blown every direction of the wind. <em>You must stand firm in prayer for your family, your territory, your friends as well as your self</em>
       <div data-link="" data-thumb="" data-src="">
           <div class="camera_caption fadeFromBottom">
            Refuse to be limited by your physical ability; your potentials are limitless. <em>Two ways to increase your income are to get more jobs or increase the streams of inflow into your life.</em>
       <div data-link="" data-thumb="" data-src="">
           <div class="camera_caption fadeFromBottom">
               <em>Upgrading your spiritual life enables the Holy Spirit to flow more easily in your life.</em> [ Business people without a solid walk with the Lord become easy prey for the devil ]
       <div data-link="" data-thumb="" data-src="">
           <div class="camera_caption fadeFromBottom">A strong spirit puts you ahead of whatever the enemy throws at you.
                <em> You can do supernatural things, and you can make supernatural things happen by the power of God’s Spirit.</em> Grace is the solution to wrong behavior.
       <div data-link="" data-thumb="" data-src="">
           <div class="camera_caption fadeFromBottom">
               All is well.
   <!-- #camera_wrap_1 -->
<!-- .fluid_container →

How  To Adjust the Slides to Your Taste
There are things you can do do with slide HTML above. You can change the image sources and caption fade.  Locate the data-src to change the images and div class= “camera_caption … to change caption fade. You can also enlarge and reduce the size but putting a positive integer into;

   width: 500%;
   max-width: 1000px;
However, the only disadvantage in using slides already created  by someone else is that if the slide is clicked on it will automatically land to creator site which is somehow to me. Do enjoy your time testing this slide

Prophecy for 2019

I congratulate you because you witness year 2019 alive! I now decree the instant fulfillment and firm establishment of the following scrip...