Category: C#

How to Save an Appointment in Windows Phone 8 using C# ?

If you want to allow the user to create or save an appointment within the Calendar application in Windows Phone 8 , you can do it using the SaveAppointmentTask launcher. How to Save an Appointment in Windows Phone 8 using C# ? To use the SaveAppointmentTask launcher , first enable the ID_CAP_APPOINTMENTS in the WMAppManifest file. Create an instance of the SaveAppointmentTask class and set…

C# Compiler Error – CS8929 ‘{0}’ cannot implement interface member

In this blog post, you’ll learn more about the C# Compiler Error – CS8929 and the related message description C# Compiler Error Code CS8929 C# Compiler Description for the Code :CS8929 ‘{0}’ cannot implement interface member ‘{1}’ in type ‘{2}’ because the target runtime doesn’t support static abstract members in interfaces.

How to format Integers with ToString() in C# ?

You can use the ToString() method to format the Integer value like showing the Hexadecimal value , padding with leading zeros or fixed length integer or Octal number . Below is a sample sourcecode to demonstrate How to format Integers with ToString() in C#