Skip to content

Instantly share code, notes, and snippets.

View SajjadArifGul's full-sized avatar
👨‍💻

Sajjad Gul SajjadArifGul

👨‍💻
View GitHub Profile
@SajjadArifGul
SajjadArifGul / RSSFeed.cs
Created February 10, 2019 06:38
Creates a simple RSS feed for blogs/articles etc
/// <summary>
/// Creates a simple RSS feed for blogs/articles etc
/// </summary>
/// <remarks></remarks>
public class RSSFeed
{
/// <summary>
///A custom string writer which outputs in UTF8 rather than UTF16
///</summary>
///<remarks></remarks>
@SajjadArifGul
SajjadArifGul / StringBasedNumberFormatting.cs
Last active May 9, 2018 19:18
String Based Number Formatting v1
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ParseNumberByString
{
class Program
{
namespace ASP_1
{
public class Calculate
{
public int Add(int Value1, int Value2)
{
return Value1 + Value2;
}
public int Subtract(int Value1, int Value2)
.calculator-holder {
position: relative;
top: 50%;
transform: translateY(+50%);
}
.calculator
{
width:300px;
height:300px;
background-color:#eeeeee;
using System;
namespace ASP_1
{
public partial class Calculator : System.Web.UI.Page
{
Calculate _Calculate;
protected void Page_Load(object sender, EventArgs e)
{
_Calculate = new Calculate();
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Calculator.aspx.cs" Inherits="ASP_1.Calculator" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>Sajjad's Calculator</title>
<link href="Calculator.css" rel="stylesheet" />
</head>
<body>
using System;
using System.Drawing;
namespace Stegnography.CSharpens
{
class Stegnography
{
public enum State
{
Hiding,
string AQ = string.Format("Select * from CustomerDetail where CustomerID='"+CustomerID+"'");
q.DataReadrstring(AQ, path);
string AQ = string.Format("Delete CustomerDetail where CustomerID='"+CustomerID+"'");
q.Conect(AQ, path);
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Device.Location;