diff --git a/modules/swagger-codegen/src/main/resources/csharp/Configuration.mustache b/modules/swagger-codegen/src/main/resources/csharp/Configuration.mustache
index 86e35441493..485d97058ce 100644
--- a/modules/swagger-codegen/src/main/resources/csharp/Configuration.mustache
+++ b/modules/swagger-codegen/src/main/resources/csharp/Configuration.mustache
@@ -11,6 +11,11 @@ namespace {{packageName}}.Client {
///
public class Configuration{
+ ///
+ /// Version of the package
+ ///
+ public const string Version = "{{packageVersion}}";
+
///
/// Gets or sets the API client. This is the default API client for making HTTP calls.
///
diff --git a/samples/client/petstore/csharp/src/main/csharp/io/swagger/client/Configuration.cs b/samples/client/petstore/csharp/src/main/csharp/io/swagger/client/Configuration.cs
index cf5162b62ea..ab24fc1252c 100644
--- a/samples/client/petstore/csharp/src/main/csharp/io/swagger/client/Configuration.cs
+++ b/samples/client/petstore/csharp/src/main/csharp/io/swagger/client/Configuration.cs
@@ -11,6 +11,11 @@ namespace IO.Swagger.Client {
///
public class Configuration{
+ ///
+ /// Version of the package
+ ///
+ public const string Version = "1.0.0";
+
///
/// Gets or sets the API client. This is the default API client for making HTTP calls.
///