Implementation

using System;
using System.Text;
using WindowsLiveWriter;

class Sharpedia : IBlogger
{
    void IBlogger.WritePost()
    {
        StringBuilder post = new StringBuilder();
        Random rand = new Random(Environment.TickCount);
        int wordsCount = rand.Next(500);
        for (int i = 0; i < wordsCount; i++)
        {
            post.Append(Dictionary.PeekRandomWord());
        }
        BlogAccount account = LiveWriter.GetProfile("Sharpedia");
        account.Upload(post.ToString());
    }

    void IBlogger.ReviewComments()
    {
        throw new NotImplementedException();
    }

    void IBlogger.SurfFriendsBlogs()
    {
        throw new NotImplementedException();
    }

    void IBlogger.WriteCommentForFriends()
    {
        throw new NotImplementedException();
    }

    void IBlogger.UpdateStyle()
    {
        throw new NotImplementedException();
    }
}

3 Responses to “Implementation”

  1. Shekaste nafsi mifarmayeed ;)

  2. اينا كه گفتي يعني چه ؟؟؟

  3. انشا الله تو و عشقت به پای هم پیر شید جووون! P:

Leave a Reply