diff --git a/csharp.html b/csharp.html
index 12e011f..d818eac 100644
--- a/csharp.html
+++ b/csharp.html
@@ -34,6 +34,9 @@
{
<% end: %>
<% else: %>
+ <% if !@body?: %>
+ <% @body = "" %>
+ <% end: %>
<% if @content_type? : %>
using (var content = new StringContent("<%- @helpers.escape @body %>", System.Text.Encoding.Default, "<%- @content_type %>"))
<% else : %>