public static void SendEmail(String from, String To, String Subject, String HTML, String AttachmentPath = null, String AttachmentName = null, MediaTypeNames AttachmentTy
A workaround to passing static parameters is to pass it as an object.
Function:
public static void HoldKey(object key) { ... }
Call function:
Function(static param);