Sunday, December 22, 2013

Horoscope : Fun Facts - Sagittarius

Sagittarius


Horoscope : Fun Facts – Sagittarius


The Sag’s philosophical, broad-minded approach to life motivates them to wander far and wide in the search for the meaning of life. Extroverted, optimistic, and enthusiastic, it can be almost impossible to keep the Sagittarian down. They love change. In fact, change is essential for this Sagittarius to feel their best.


Friends and Family


Whether it’s stimulating conversation or a hike through the mountains, you can expect this sign to be surrounded by friends. They’re a ton of fun, and downright wacky at times. They love to laugh and get everyone around them going. Sagittarians make friends from around the globe, enjoying the various takes on life and culture. They’re generous and not ones to hold a grudge. Anyone who can sit and talk about the deeper things in life will suit a Sagittarian just fine. When it comes to family, the Sagittarian is dedicated and willing to do just about anything. Freedom and independence are extremely important for this outgoing sign. Providing these traits aren’t infringed upon, relationships go well.


Career and Money


“Visualization” is the keyword for the Sagittarian. When this sign sees something as possible in their minds, they will go to great lengths and rally people to make it happen. Straightforward, they don’t usually mince words about what they want, and they seem to know exactly what needs to be said in a given situation. They make excellent salespeople, and it’s even better when this involves travel. When the Sagittarian gets a sense of the big picture, they’ll work night and day to reach a goal.


A variety of tasks and a dynamic atmosphere favor the Sagittarian. Careers such as travel agent, photographer, explorer, artist, realtors, ambassador, and trader all suit this free spirited personality.


Love and Sex


This fiery sign is playful and loves to have fun with their lover(s). Passionate, expressive, and willing to try just about anything, partners who are equally outgoing are best. There’s a fine line between sex and love for this sign. Their love of change and variety can bring a lot of different personalities to the bedroom. But when it comes to love, that’s an entirely different thing. Once taken, the Sagittarian is loyal and devoted. Mates for this sign need to be intellectual, sensitive, and expressive for the best results. As the key phrase for this sign is “I understand”… having a good sense of how their partner thinks is quite important.


Likes


Travel, being outdoors, freedom, philosophy.


Dislikes


Details, being constrained, off-the-wall theories, clingy people.



Horoscope : Fun Facts - Sagittarius

METHOD OVERLOADING BEST PRACTICE – DO’S AND DON’T

METHOD OVERLOADING BEST PRACTICE – DO’S AND DON’T


Let’s briefly understand what is Method Overloading, it is method with same name but with different arguments is called method overloading.


Example of Method Overloading


//SendEmail without Header and Footer
bool SendEmail(string Subject, string Body, string ToEmail)
//SendEmail with only Footer
bool SendEmail(string Subject, string Body, string ToEmail, string Footer)
//SendEmail with both Header and Footer
bool SendEmail(string Subject, string Body, string ToEmail, string Footer, string Header)

 



Must follow rules while doing method overloading


1)  Method Body should not be repeated in every method, don’t write same code in every method, instead, call the method by passing default parameter.


//SendEmail without Header and Footer
bool SendEmail(string Subject, string Body, string ToEmail)
//Since we don’t have footer, call method by passing empty string
return SendEmail(Subject, Body, ToEmail, string.Empty);

//SendEmail with only Footer
bool SendEmail(string Subject, string Body, string ToEmail, string Footer)
//Since we don’t have header, call method by passing empty string
return SendEmail(Subject, Body, ToEmail, Footer, string.Empty);

//SendEmail with both Header and Footer
bool SendEmail(string Subject, string Body, string ToEmail, string Footer, string Header)
bool IsEmailSendSuccessfully = false;
string WebsiteName = ConfigurationManager.AppSettings["WebsiteName"].ToString();
string EmailServer = ConfigurationManager.AppSettings["EmailServer"].ToString();
string FromEmail = ConfigurationManager.AppSettings["EmailDoNotReply"].ToString();
string FromEmailPassword = ConfigurationManager.AppSettings["EmailPassword"].ToString();
Body = Header + Body + Footer;
try

MailMessage MyMailMessage = new MailMessage(FromEmail, ToEmail, Subject, Body);
MyMailMessage.IsBodyHtml = true;
MailAddress objMailAddr = new MailAddress(FromEmail, WebsiteName);
MyMailMessage.From = objMailAddr;
SmtpClient mailClient = new SmtpClient(EmailServer);
mailClient.Credentials = new NetworkCredential(FromEmail, FromEmailPassword);
mailClient.Send(MyMailMessage);
IsEmailSendSuccessfully = true;

catch (Exception ex)

IsEmailSendSuccessfully = false;
ErrorMessages.ErrorReporting(ex);

return IsEmailSendSuccessfully;

 



2) Avoid changing name of parameters for Overloaded Methods


Bad Example:


bool SendEmail(string Subject, string Body, string ToEmail) 
bool SendEmail(string Title, string Message, string ToEmail, string Footer)
bool SendEmail(string SubjectTitle, string BodyMessage, string ToEmail, string Footer, string Header)

 


 


In above method you might have notice that we are using different parameter name for Subject and Body, across different method overload function, try to avoid that.


Good Example:


bool SendEmail(string Subject, string Body, string ToEmail) 
bool SendEmail(string Subject, string Body, string ToEmail, string Footer)
bool SendEmail(string Subject, string Body, string ToEmail, string Footer, string Header)

 



3) Avoid changing sequence of parameters for Overloaded Methods, Ordering of overloaded method should be consistent.


Bad Example:


bool SendEmail(string Subject, string Body, string ToEmail) 
bool SendEmail(string Body, string Subject, string Footer, string ToEmail)
bool SendEmail(string Footer, string Header, string Subject, string Body, string ToEmail)

 


In above examples sequence of overloaded method are not consistent. Try to avoid that to avoid confusion and making things complex.


Good Example:


bool SendEmail(string Subject, string Body, string ToEmail) 
bool SendEmail(string Subject, string Body, string ToEmail, string Footer)
bool SendEmail(string Subject, string Body, string ToEmail, string Footer, string Header)

 



METHOD OVERLOADING BEST PRACTICE – DO’S AND DON’T

Horoscope : Fun Facts - Gemini

Zappmania gemini


Horoscope : Fun Facts – Gemini


Versatility is a great keyword for this dual sign. Expressive and quick-witted, the Gemini presents two distinctive sides to their personality, and you can never be sure which one you’re going to come face-to-face with. On one hand, Geminis can be outgoing, flirtatious, and ready for fun. Yet when the other twin is present, you can find this Air Sign contemplative, serious, restless, and even indecisive. Both twins are able to adapt to life’s circumstances, making them wonderful people to know. Things are never boring when a Gemini is on the scene.


Friends and Family


Geminis are social and love spending time with friends and family. Those that can match the Geminian intellect and love of variety will go the distance. One quality they seek out in others is communication. The Geminian loves to talk and to gain insight from others. Without a clear flow of talk, the Gemini will lose interest pretty quick. Family is important, especially those of like mind. Friendships with siblings are quite common. Meeting responsibilities with family can be challenging at times, but almost always, the Geminian comes through.


Time spent with family members is also prized. Geminis adore children, and will be the first at family events. They love to entertain in their own homes and don’t think twice about having a house full of friends and relatives to celebrate


Career and Money


The best-suited careers for a Gemini are those that stimulate the intellect. “I think” is the key phrase for this sign. Geminians are inventive and often literary. It’s important that the work they commit themselves to is dynamic and challenging so boredom doesn’t set in.


Careers in teaching, debate, news, writing, religion, or law are all well-suited to gemini sign. Any platform that allows the Gemini room to talk is best! A sales profession is another excellent choice. You can expect to see many tools for communication around this sign, such as PDAs, laptops, and cell phones. Generating new ideas and problem solving are other areas the Geminian will shine.


Love and Sex


Fun-loving and always up for an intellectual challenge, the Gemini is a spirited lover. The talk that precedes the interlude is just as important as the actual contact for this sign, and when it comes to wit, this sign holds nothing back. Flirtatious and curious, the Gemini will have a lot of different lovers until they find one who can match their intellect and energy level. The Gemini needs to experience excitement, versatility, and stimulation to feel fully satisfied. Once found though, the Gemini can settle into a lifestyle for two for the long haul.


Likes


Reading, writing, having a lot to do, being on the go, variety.


Dislikes


Being alone, boredom, being forced to be silent, mundane assignments.



Horoscope : Fun Facts - Gemini

Saturday, December 21, 2013

Horoscope : Fun Facts - Scorpion

Zappmania Scorpio


Horoscope : Fun Facts – Scorpion


Passionate, penetrating, and determined, this sign will probe until they reach the truth. The Scorpion may not speak volumes or show their emotions readily, yet rest assured there’s an enormous amount of activity happening beneath the surface. Excellent leaders, the Scorpion is always aware. When it comes to resourcefulness, this sign comes out ahead.


Friends and Family


Sincerity and truth are strong components of the Scorpion‘s friends. It can take some time before really close bonds are formed, but once done, the Scorpion will remain dedicated and loyal. Witty and intellectual, they prefer companions who are humorous and easygoing. Full of surprises, Scorpion sign will give you the shirt off their backs if that’s what you need; yet, once they are crossed, there’s no turning back. They feel deeply, and once hurt it can be impossible to turn things around. Commitment to family is strong and consistent with the Scorpion. They are exceptionally helpful in managing affairs, and they are excellent advocates when one is needed.


Career and Money


“I desire” is the key phrase for the Scorpion. They are fantastic at managing, solving, or creating. Once the Scorpion sets their sights on a goal, there’s no deterring them. Tasks that require a scientific, penetrating approach are done well by the Scorpion, as they will delve deeply into the materials they have. Their ability to focus, coupled with determination, makes for strong management skills. They’re not ones to worry about making friends on the job scene; rather, they prefer to see their tasks accomplished well.


Pursuing such careers as a scientist, doctor, investigator, navigator, researcher, police officer, business manager, or psychologist all suit the mighty Scorpion. Respect is an essential aspect of working for this sign. They need to respect their coworkers, while also feeling a sense of being respected by others.


Love and Sex


This is the strongest of the sexualities in the zodiac. Incredibly passionate, the Scorpion takes intimacy seriously. Partners need to be intelligent and honest. Much of the foreplay for this sign happens long before the bedroom through conversation and observation. Once in love, they are devoted and loyal to the death. But relationships can take some time. The Scorpion needs to build trust and respect for a potential mate slowly and thoroughly.


Likes


Truth, facts, flirtation, long-time friends.


Dislikes


The superficial, flattery, shallow people, being taken advantage of.



Horoscope : Fun Facts - Scorpion

Horoscope : Fun Facts - Taureans

Taurus


Horoscope : Fun Facts – Taureans


Lovers of everything that is fine and beautiful, Taureans surround themselves with material gains. This is a sensual, tactile sign. Touch is very important from work to romance. Stable and conservative, Taureans are among the most reliable of the Zodiac. While sometimes viewed as stubborn, this sign will work on a task until the very end, ensuring that everything is up to standard. They’re highly creative and enjoy making things with their own hands.


Friends and Family


Domestic affairs are very important to Taureans. Values surrounding family are usually strong and fixed, to the point where the Bull will do anything to protect them. A good sense of humor and intelligence make this sign great company, and Taureans are often sought after for advice on the practical way of doing things. Once a friend is made and trusted, this relationship will last for a lifetime. They’re loyal and willing to lend a hand. In fact, many friendships for the Taureans start in childhood. Promises to others are taken seriously.


Time spent with family members is also prized. Taureans adore children, and will be the first at family events. They love to entertain in their own homes and don’t think twice about having a house full of friends and relatives to celebrate.


Career and Money


“Stability” is the keyword for Taureans. The key phrase for Taurus is “I have.” Taureans love money, and they’re not afraid to work hard to get it. On the job the Taurean is dependable, patient, and thorough. Once they set their minds on something, they will stick with it until completion, regardless of how long or complicated it might be. Taureans are on time, up for almost anything, and diligent.


A sense of one’s values is a huge motivator when it comes to Taureans. Second to that is the love of the rewards that follow hard work. Because members of this sign love to surround themselves with material possessions, and enjoy the finer foods and luxuries that life has to offer, work is very important. It is the means to an end – and the Taureans are always aware of this.


Love and Sex


Best be prepared to take your time when it comes to the Taureans lover. Exceptionally sensual, touch is most important and being rushed in any way is not going to turn this sign on. Mates are often from the same status and social circle, able to match the Bull’s intellect and desire for the better things in life. Expect affection to be shown through material items – the Taureans are great gift giver.


Likes


Being outdoors, working with ones hands, time with family, crafting.


Dislikes


Instability, man-made or synthetic things, being pushed too hard, being stuck indoors.



Horoscope : Fun Facts - Taureans

Horoscope : Fun Facts - Libran

Libra


Horoscope : Fun Facts – Libran


“I balance” is the key phrase for Libran , and when it comes to keeping everything on an even keel, a Libran will lead the pack. Partnerships are very important for the Libran, especially those on a personal level. With their winning personalities and cooperative style, they aren’t apt to be alone for long!


Friends and Family


Fun-loving and willing to help out, the Libran makes an excellent friend. Even though they can be late and indecisive, once they’re on the scene, they’re ready to go. This flexible sign loves to spend time with friends and family, and doesn’t hesitate to initiate gatherings. Sociable and suave, people are naturally drawn to the Libran. They have a way of creating an aura of harmony around them that’s a real draw. When it comes to challenges, this balancing sign can see both perspectives in a disagreement, making them excellent problem-solvers. Companionable, they’re apt to keep their friends and family busy.


Career and Money


“Harmony” is the keyword for this sign. For the Libran, maintaining this is of the utmost importance. They can be excellent leaders, and will work hard to earn – and deserve – the privilege. Truth and justice always prevail for the Libran as they go about their days. Working with others or in a partnership is ideal for this social sign. Artistic and persuasive, these folks are gifted talkers who do well in any position that provides a platform for them to chat.


Careers that involve justice such as police officer, lawyer, or judge are excellent choices for the Libran. They will also succeed at such occupations as diplomat, civil servant, interior decorator, composer and fashion designer. Group settings pose no challenge for the Libran - in fact, the more the merrier. Their strong sense of diplomacy serves well in almost anything they do.


Love and Sex


Finding the right partner will be a priority in the Libran‘s life. For those already in a relationship, maintaining the peace and harmony takes center stage. A Libran alone is a sad thing indeed, not to mention unnatural. They need to connect with others. As lovers they are expressive, creative, and balanced. They love to make their partners feel completely and thoroughly satisfied from conversation to lovemaking. The Libran‘s charm and dedication to striking the perfect balance with others makes them wonderful partners.


Likes


Harmony, sharing with others, gentleness, the outdoors.


Dislikes


Injustice, violence, conformity, and loudmouths.



Horoscope : Fun Facts - Libran

Friday, December 20, 2013

Horoscope : Fun Facts - Aries

Zappmania - Aries


Horoscope : Fun Facts – Aries


The presence of an Aries almost always indicates the beginning of something energetic and boisterous!


They’re eager, dynamic, quick, and competitive. When it comes to getting the ball rolling, an Aries is the best. Pioneering everything from work-related projects to parties with friends, these folks go for the gusto.


Friends and Family


“Activity” is the keyword for Aries, and wow, can they ever go! The Ram is on the go constantly. When it comes to Aries’ friends, the more variety the better. It takes a range of different personalities to complete their circle of friends. Quick and easy to get along with, an Aries makes an incredible amount of connections in a lifetime. Long-term friends are something altogether different, though. Only those who are equally as energetic and able to keep up are apt to go the long run.


Independent and ambitious, the Aries makes his or her own way as early in their lives as possible. While staying in touch with family can leave much to be desired, these loved ones are always in the Ram’s heart. A direct and forthright approach can be expected almost always, and when a sentiment is expressed, it’s bound to be sincere.


Career and Money


This is the area of life where the Aries is apt to shine the brightest. Ambitious, creative, and often driven by the need to be the best they can be, the workplace can be the perfect platform. Born leaders, this sign is far more comfortable taking charge than taking orders. Their ability to envision allows for things to naturally fall into place. All the Aries has to do is follow their own lead.


When faced with a challenge, Aries natives will quickly assess the situation and arrive at a solution – whatever it takes to get their plans off the ground! Competition only makes this Fire Sign burn brighter. They move through life with their own agenda, which is always going to be their primary focal point. Careers that are strong choices include real estate, sales, management, engineering, and business.


Love and Sex


This wildly flirtatious Fire Sign certainly takes the initiative when it comes to romance. They’re quick to move when someone catches their eye. But to keep their attention, the person needs to be as energetic and as exciting as they are. This is a passionate sign that loves adventure. When it comes to love, when a fire burns – it burns HOT! Whirlwind romances are common for the Aries personality, but once love sets in, it’s generally for life. As long as there’s plenty of spice and excitement to keep the blood pumping, the relationship will be strong and long-lasting.


Likes


Coming in first, championing causes, initiating, taking action.


Dislikes


Waiting, admitting error, tyranny, dependent people.



Horoscope : Fun Facts - Aries